In FreeBSD 5.x+, sleep/wakeup operate on threads, not processes.
This commit is contained in:
parent
b8587b0055
commit
efdf2cb2b3
@ -100,9 +100,9 @@ runnable.
|
||||
The
|
||||
.Fn wakeup_one
|
||||
function
|
||||
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
|
||||
does not work reliably if more than one thread is sleeping on the same address;
|
||||
in this case it is possible for an unrelated thread to be woken.
|
||||
This thread will ignore the wakeup, and the correct process will never be
|
||||
woken.
|
||||
.Pp
|
||||
The
|
||||
|
Loading…
x
Reference in New Issue
Block a user