futex.2: The 'timeout' can be rounded upwards by clock granularity and also overrun

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-09-04 10:24:01 +02:00
parent 2785cd6cee
commit 82a6092b03
1 changed files with 8 additions and 3 deletions

View File

@ -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