Wake some number of threads waiting on a futex, optionally transferring ownership to the thread which was woken in the process.
#include <zircon/syscalls.h> zx_status_t zx_futex_wake_single_owner(const zx_futex_t* value_ptr);
zx_futex_wake() for a full description.
zx_futex_wake_single_owner() returns ZX_OK on success.
ZX_ERR_INVALID_ARGS value_ptr is not aligned.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-02-10.