Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 542 Bytes

futex_wake.md

File metadata and controls

32 lines (19 loc) · 542 Bytes

mx_futex_wake

NAME

futex_wake - Wake some number of threads waiting on a futex.

SYNOPSIS

#include <magenta/syscalls.h>

mx_status_t mx_futex_wake(int* value_ptr, uint32_t wake_count);

DESCRIPTION

Waking a futex causes wake_count threads waiting on the value_ptr futex to be woken up.

RETURN VALUE

futex_wake() returns NO_ERROR.

ERRORS

futex_wake() always succeeds. Waking up zero threads is not an error condition.

SEE ALSO

futex_wait futex_requeue