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

Function wait_requeue_pi

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

Equivalent to syscall(SYS_futex, uaddr, FUTEX_WAIT_REQUEUE_PI, val, timeout, uaddr2, 0)

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

§References