cvs commit: src/share/man/man9 sleep.9

Kostik Belousov kostikbel at gmail.com
Tue Feb 27 11:33:53 UTC 2007


On Tue, Feb 27, 2007 at 02:51:41AM +0000, Greg Lehey wrote:
> grog        2007-02-27 02:51:41 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     share/man/man9       sleep.9 
>   Log:
>   Add warning about deadlocks created by use of wakeup_one.

+.Fn wakeup_one
+does not work reliably if more than one process is sleeping on the same
+address;
+in this case it is possible for an unrelated process to be woken.
+This process will ignore the wakeup, and the correct process will never be
+woken.
+.Pp
 
Is this a bug (that should be fixed), or some fundamental issue with
wakeup_one() ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20070227/b174718d/attachment.pgp


More information about the cvs-src mailing list