aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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]