rustix::thread::futex

Function wait_requeue_pi

source
pub fn wait_requeue_pi(
    uaddr: &AtomicU32,
    flags: Flags,
    val: u32,
    timeout: Option<Timespec>,
    uaddr2: &AtomicU32,
) -> Result<()>
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