aboutsummaryrefslogtreecommitdiffstats
path: root/man2/futex.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2015-01-14 12:11:41 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-12-15 14:39:42 +0100
commit12fdbe23b2901fa84d0ef35d53aeec112a930edf (patch)
treef7711768c1afb3034f06095d8774aad03630e966 /man2/futex.2
parenta9dcb4d1de35f715a1bd09c9cba5430e32893dd9 (diff)
downloadman-pages-12fdbe23b2901fa84d0ef35d53aeec112a930edf.tar.gz
futex.2: Rearrange order FUTEX_UNLOCK_PI in list of operations
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/futex.2')
-rw-r--r--man2/futex.215
1 files changed, 11 insertions, 4 deletions
diff --git a/man2/futex.2 b/man2/futex.2
index 1c9e98ca44..dd5b5d1dad 100644
--- a/man2/futex.2
+++ b/man2/futex.2
@@ -689,12 +689,19 @@ arguments are ignored.
.\" Documentation/robust-futexes.txt, is not an error as such. However,
.\" I'm not yet sure of how to describe it in the man page.)
.TP
-.BR FUTEX_UNLOCK_PI " (since Linux 2.6.18)"
+.BR FUTEX_TRYLOCK_PI " (since Linux 2.6.18)"
.\" commit c87e2837be82df479a6bae9f155c43516d2feebc
-.\" FIXME to complete
-[As yet undocumented]
+This operation tries to acquire the futex at
+.IR uaddr .
+It deals with the
+situation where the TID value at
+.I uaddr
+is 0, but the
+.B FUTEX_HAS_WAITER
+bit is set.
+User space cannot handle this race free.
.TP
-.BR FUTEX_TRYLOCK_PI " (since Linux 2.6.18)"
+.BR FUTEX_UNLOCK_PI " (since Linux 2.6.18)"
.\" commit c87e2837be82df479a6bae9f155c43516d2feebc
.\" FIXME to complete
[As yet undocumented]