futex.2: Minor improvement to FUTEX_CMP_REQUEUE_PI text

Reported-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-15 14:32:34 +01:00
parent 55a8bca383
commit 6fbeb8f4a0
1 changed files with 2 additions and 1 deletions

View File

@ -827,7 +827,8 @@ waiters that are waiting on the futex at
However, for
.BR FUTEX_CMP_REQUEUE_PI ,
.I val
is required to be 1.
is required to be 1
(since the the main point is to avoid a thundering herd).
The remaining waiters are removed from the wait queue of the source futex at
.I uaddr
and added to the wait queue of the target futex at