devela::_dep::rustix::thread::futex

Function requeue

pub fn requeue(
    uaddr: &AtomicU32,
    flags: Flags,
    val: u32,
    val2: u32,
    uaddr2: &AtomicU32,
) -> Result<usize, Errno> 
Available on crate feature dep_rustix only.
Expand description

Equivalent to syscall(SYS_futex, uaddr, FUTEX_REQUEUE, val, val2, uaddr2, 0)

This is a very low-level feature for implementing synchronization primitives. See the references links.

§References