Function wasmer_wasix::syscalls::wasix::futex_wake::futex_wake
source · pub fn futex_wake<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
futex_ptr: WasmPtr<u32, M>,
ret_woken: WasmPtr<Bool, M>,
) -> Errno
Expand description
Wake up one thread that’s blocked on futex_wait on this futex. Returns true if this actually woke up such a thread, or false if no thread was waiting on this futex.
§Parameters
futex
- Memory location that holds a futex that others may be waiting on