** Reply to message from Daniel Phillips <[EMAIL PROTECTED]> on Wed, 31 Jan 2001 01:06:08 +0100 > > What is wrong with sleep_on()? > > If you have a task that looks like: > > loop: > <do something important> > sleep_on(q) > > And you do wakeup(q) hoping to get something important done, then if the > task isn't sleeping at the time of the wakeup it will ignore the wakeup > and go to sleep, which imay not be what you wanted. Ok, so how should this code have been written? -- Timur Tabi - [EMAIL PROTECTED] Interactive Silicon - http://www.interactivesi.com When replying to a mailing-list message, please direct the reply to the mailing list only. Don't send another copy to me. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [ANNOUNCE] Kernel Janitor'... John Levon
- Re: [ANNOUNCE] Kernel Janitor'... David D.W. Downey
- Re: [ANNOUNCE] Kernel Janitor'... davej
- Re: [ANNOUNCE] Kernel Janitor'... Timur Tabi
- Re: [ANNOUNCE] Kernel Janitor'... Rasmus Andersen
- Re: [ANNOUNCE] Kernel Janitor'... Peter Samuelson
- Re: [ANNOUNCE] Kernel Janitor'... Ingo Oeser
- Re: [ANNOUNCE] Kernel Janitor'... David Woodhouse
- Re: [ANNOUNCE] Kernel Janitor'... Timur Tabi
- Re: [ANNOUNCE] Kernel Janitor'... Daniel Phillips
- Re: [ANNOUNCE] Kernel Janitor'... Timur Tabi
- Re: [ANNOUNCE] Kernel Janitor'... David Woodhouse
- Re: [ANNOUNCE] Kernel Janitor'... David Woodhouse
- Re: [ANNOUNCE] Kernel Janitor'... Andi Kleen
- Re: [ANNOUNCE] Kernel Janitor'... Roman Zippel
- Re: [ANNOUNCE] Kernel Janitor'... Andi Kleen
- Re: [ANNOUNCE] Kernel Janitor'... Andrea Arcangeli
- Re: [ANNOUNCE] Kernel Janitor'... Andrea Arcangeli
- Re: [ANNOUNCE] Kernel Janitor's TO... Alan Cox
- Re: [ANNOUNCE] Kernel Janitor'... Manfred Spraul
- Re: [ANNOUNCE] Kernel Janitor's TODO list Rusty Russell