public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* question about wait_event
@ 2011-04-25  2:32 yeyouqun
  0 siblings, 0 replies; only message in thread
From: yeyouqun @ 2011-04-25  2:32 UTC (permalink / raw)
  To: lkml

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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-25  2:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-25  2:32 question about wait_event yeyouqun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox