rustix::thread::futex

Function wake_bitset

source
pub fn wake_bitset(
    uaddr: &AtomicU32,
    flags: Flags,
    val: u32,
    val3: NonZeroU32,
) -> Result<usize>
Expand description

Equivalent to syscall(SYS_futex, uaddr, FUTEX_WAKE_BITSET, val, NULL, NULL, val3)

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

ยงReferences