zx_futex_wake_single_owner
SUMMARY
Wake one thread waiting on a futex, and set the ownership of the futex to that thread.
DECLARATION
DESCRIPTION
Wake one thread waiting on a futex. If a thread is woken, ownership of the futex is transferred to that thread. If no thread is woken (because none are waiting), ownership of the futex is set to none.
See [zx_futex_wake()] for a full description.
RIGHTS
None.
RETURN VALUE
zx_futex_wake_single_owner() returns ZX_OK on success.
ERRORS
ZX_ERR_INVALID_ARGS value_ptr is not aligned.
SEE ALSO
- [futex objects]
- [
zx_futex_requeue()] - [
zx_futex_wait()] - [
zx_futex_wake()]
futex objectszx_futex_requeue()zx_futex_wait()zx_futex_wake()
最后更新:
2022 年 12 月 31 日(Saturday) 21:07 CST