Function rustix::thread::futex::cmp_requeue_pi

source ·
pub fn cmp_requeue_pi(
    uaddr: &AtomicU32,
    flags: Flags,
    val2: u32,
    uaddr2: &AtomicU32,
    val3: u32,
) -> Result<usize>
Expand description

Equivalent to syscall(SYS_futex, uaddr, FUTEX_CMP_REQUEUE_PI, 1, val2, uaddr2, val3)

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

§References