Thread (92 messages) 92 messages, 7 authors, 2021-08-11

Re: [PATCH 10/32] futex.2: Document FUTEX_LOCK_PI2

From: Michael Kerrisk (man-pages) <hidden>
Date: 2021-08-07 21:38:35

On 7/29/21 12:18 PM, Alejandro Colomar (man-pages) wrote:
Hi Michael,

On 7/28/21 10:19 PM, Alejandro Colomar wrote:
quoted
From: Kurt Kanzenbach <kurt@linutronix.de>

FUTEX_LOCK_PI2 is a new futex operation which was recently introduced into the
Linux kernel. It works exactly like FUTEX_LOCK_PI. However, it has support for
selectable clocks for timeouts. By default CLOCK_MONOTONIC is used. If
FUTEX_CLOCK_REALTIME is specified then the timeout is measured against
CLOCK_REALTIME.

This new operation addresses an inconsistency in the futex interface:
FUTEX_LOCK_PI only works with timeouts based on CLOCK_REALTIME in contrast to
all the other PI operations.

Document the FUTEX_LOCK_PI2 command.

Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Please drop this one.  I just found a small typo, and will add a 
Reviewed-by line received today.
Dropped.

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help