Re: [QUESTION] How to use interruptible_sleep_on() without races ?

From: Jean Tourrilhes (jt@bougret.hpl.hp.com)
Date: Fri Apr 05 2002 - 15:16:52 EST


On Fri, Apr 05, 2002 at 01:58:44PM +0100, Alan Cox wrote:
> > > 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

        *Blush*. Yes it is.

        Jean
-
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/



This archive was generated by hypermail 2b29 : Sun Apr 07 2002 - 22:00:18 EST