lkml.org 
[lkml]   [2011]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectquestion about wait_event
Hi guys,I have some doubt about "wait_event". One group processes, say 
A, they calls "wait_event (wq, 1)", and one single process B calls
"wake_up_all", the question is:

B only run once, so all the processes in A that hold the lock of
"wq" after B process, which will sleep on the "wq" forever, is it true?
If true, how to stop it from happening?


\
 
 \ /
  Last update: 2011-04-25 04:35    [W:0.044 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site