mirror of https://github.com/mkerrisk/man-pages
futex.2: Clarify clock default and choices for FUTEX_WAIT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2c0cac3e00
commit
a01c3098e8
10
man2/futex.2
10
man2/futex.2
|
@ -301,9 +301,15 @@ value change and will not start to sleep.
|
|||
If the
|
||||
.I timeout
|
||||
is not NULL, the structure it points to specifies
|
||||
a relative timeout for the wait, measured according to the
|
||||
a relative timeout for the wait.
|
||||
This timeout is by default measured according to the
|
||||
.BR CLOCK_MONOTONIC
|
||||
clock.
|
||||
clock, but, since Linux 4.5, the
|
||||
.BR CLOCK_REALTIME
|
||||
clock can be selected by specifying
|
||||
.BR FUTEX_CLOCK_REALTIME
|
||||
in
|
||||
.IR futex_op .
|
||||
(This interval will be rounded up to the system clock granularity,
|
||||
and is guaranteed not to expire early.)
|
||||
If
|
||||
|
|
Loading…
Reference in New Issue