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

Function wake_bitset

pub fn wake_bitset(
    uaddr: &AtomicU32,
    flags: Flags,
    val: u32,
    val3: NonZero<u32>,
) -> Result<usize, Errno> 
Available on crate feature dep_rustix only.
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