futex.2: tfix

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Jakub Wilk 2016-01-04 16:59:35 +01:00 committed by Michael Kerrisk
parent 1a3c3468bd
commit 67c67ff26b
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ unlock(A);
If a waker thread used
.BR FUTEX_WAKE ,
then all waiters waiting on B would be woken up,
and they would would all try to acquire lock A.
and they would all try to acquire lock A.
However, waking all of the threads in this manner would be pointless because
all except one of the threads would immediately block on lock A again.
By contrast, a requeue operation wakes just one waiter and moves