Function futex_wait
pub unsafe fn futex_wait(
uaddr: *const c_void,
val: usize,
mask: usize,
flags: u32,
timeout: Option<×pec_t>,
clockid: i32,
) -> Result<(), i32> ⓘ
Available on crate feature
dep_nc
only.Expand description
Wait on a futex.
uaddr
: Address of the futex to wait onval
: Value ofuaddr
mask
: bitmaskflags
:FUTEX2
flagstimeout
: Optional absolute timeoutclockid
: Clock to be used for the timeout, realtime or monotonic
Identical to the traditional FUTEX_WAIT_BITSET
op, except it is part of the
futex2 familiy of calls.