Function futex_requeue
pub unsafe fn futex_requeue(
waiters: &mut [futex_waitv_t],
flags: u32,
nr_wake: i32,
nr_requeue: i32,
) -> Result<(), i32> ⓘ
Available on crate feature
dep_nc
only.Expand description
Requeue a waiter from one futex to another.
waiters
: array describing the source and destination futexflags
: unusednr_wake
: number of futexes to wakenr_requeue
: number of futexes to requeue
Identical to the traditional FUTEX_CMP_REQUEUE
op, except it is part of the
futex2 family of calls.