summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2013-09-04 10:24:01 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-09-04 10:39:34 +0200
commit82a6092b03a29af915f239ee5a8d11edbeea06bf (patch)
tree9d1442adbf4ce361e86641eb9d1093ade846e00c
parent2785cd6ceeefaaad2dbeee4237927a978b98314b (diff)
futex.2: The 'timeout' can be rounded upwards by clock granularity and also overrun
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/futex.211
1 files changed, 8 insertions, 3 deletions
diff --git a/man2/futex.2 b/man2/futex.2
index fea5e4ac..78e3de03 100644
--- a/man2/futex.2
+++ b/man2/futex.2
@@ -50,7 +50,7 @@
.\"
.\" See Documentation/futex-requeue-pi.txt
.\"
-.TH FUTEX 2 2013-07-30 "Linux" "Linux Programmer's Manual"
+.TH FUTEX 2 2013-09-04 "Linux" "Linux Programmer's Manual"
.SH NAME
futex \- fast user-space locking
.SH SYNOPSIS
@@ -116,8 +116,13 @@ and sleeps awaiting
on this futex address.
If the
.I timeout
-argument is non-NULL, its contents describe the minimum
-duration of the wait, which is infinite otherwise.
+argument is non-NULL, its contents specify the duration of the wait.
+(This interval will be rounded up to the system clock granularity,
+and kernel scheduling delays mean that the
+blocking interval may overrun by a small amount.)
+If
+.I timeout
+is NULL, the call blocks indefinitely.
The arguments
.I uaddr2
and