Re: newbie k-developer: sleep_on/wake_up problems

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 31 Mar 1998 10:22:15 +0100 (BST)


> currently trying to explore certain functionality that I will need
> to use for development. Specifically, I'm exploring sleep_on and
> wake_up right now. let's get to the core of the broken code:

Sleep/wakeup doesnt work the way you think. The waker removes themself from
the sleep queue - that means you can't just assign it to NULL!

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu