lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4DB4DD26.3090406@gmail.com>
Date:	Mon, 25 Apr 2011 10:32:06 +0800
From:	yeyouqun <yeyouqun1981@...il.com>
To:	lkml <linux-kernel@...r.kernel.org>
Subject: question 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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ