Function hermit_abi::futex_wake

source ·
pub unsafe extern "C" fn futex_wake(
    address: *mut u32,
    count: i32
) -> i32
Expand description

Wake count threads waiting on the futex at address. Returns the number of threads woken up (saturates to i32::MAX). If count is i32::MAX, wake up all matching waiting threads. If count is negative or address is null, returns -EINVAL.