lkml.org 
[lkml]   [1998]   [Mar]   [31]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From(Alan Cox)
SubjectRe: newbie k-developer: sleep_on/wake_up problems
DateTue, 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

\
 
 \ /
  Last update: 2005-03-22 12:42    [from the cache]
©2003-2008