Re: [QUESTION] How to use interruptible_sleep_on() without races ?
Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 5 Apr 2002 13:58:44 +0100 (BST)
> > could just use completions in that case or you could use
> >
> > wait_event_interruptible(&my_wait_queue, my_condition==FALSE)
> >
> > which is a macro that generates the right stuff.
>
> And it might even want to be defined in include/linux/sched.h
It is 8)
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/