mirror of https://github.com/mkerrisk/man-pages
futex.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a8fa059758
commit
c082f385d4
16
man2/futex.2
16
man2/futex.2
|
@ -1089,6 +1089,22 @@ is not NULL, the structure it points to specifies
|
|||
an absolute timeout, measured against the
|
||||
.BR CLOCK_REALTIME
|
||||
clock.
|
||||
.\" 2016-07-07 response from Thomas Gleixner on LKML:
|
||||
.\" From: Thomas Gleixner <tglx@linutronix.de>
|
||||
.\" Date: 6 July 2016 at 20:57
|
||||
.\" Subject: Re: futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op
|
||||
.\"
|
||||
.\" On Thu, 23 Jun 2016, Michael Kerrisk (man-pages) wrote:
|
||||
.\" > On 06/23/2016 08:28 PM, Darren Hart wrote:
|
||||
.\" > > And as a follow-on, what is the reason for FUTEX_LOCK_PI only using
|
||||
.\" > > CLOCK_REALTIME? It seems reasonable to me that a user may want to wait a
|
||||
.\" > > specific amount of time, regardless of wall time.
|
||||
.\" >
|
||||
.\" > Yes, that's another weird inconsistency.
|
||||
.\"
|
||||
.\" The reason is that phtread_mutex_timedlock() uses absolute timeouts based on
|
||||
.\" CLOCK_REALTIME. glibc folks asked to make that the default behaviour back
|
||||
.\" then when we added LOCK_PI.
|
||||
If
|
||||
.I timeout
|
||||
is NULL, the operation will block indefinitely.
|
||||
|
|
Loading…
Reference in New Issue