FUTEX_LOCK_PI2
lock a priority‐inheritance futex
- Provided by: manpages-dev (Version: 6.17-1)
- Source: manpages
- Report a bug
lock a priority‐inheritance futex
Standard C library (libc, -lc)
#include <linux/futex.h> /* Definition of FUTEX_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h>
long syscall(SYS_futex, uint32_t *uaddr, FUTEX_LOCK_PI2, 0,
const struct timespec *timeout);
This operation is the same as FUTEX_LOCK_PI(2const), except that the clock against which timeout is measured is selectable.
By default, the (absolute) timeout specified in timeout is measured against the CLOCK_MONOTONIC clock.
Linux.
Linux 5.14.