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() ?

Attachment: pgpPa7l7V3Lwx.pgp
Description: PGP signature

Reply via email to