On Fri, Mar 15, 2002 at 04:39:50PM +1100, Rusty Russell wrote:> Yep, sorry, my mistake. I suggest make it a relative "struct timespec> *" (more futureproof that timeval). It would make sense to split the> interface into futex_down and futex_up syuscalls, since futex_up> doesn't need a timeout arg, but I haven't for the moment.

Why waste a syscall? The user is going to be using a librarywrapper. They don't have to know that futex_up() calls sys_futex(futex,FUTEX_UP, NULL);