timer - An object that may be signaled at some point in the future
SYNOPSISA timer is used to wait until a specified point in time has occurred or the timer has been canceled.
DESCRIPTIONLike other waitable objects, timers can be waited on via zx_object_wait_one()
, zx_object_wait_many()
, or zx_object_wait_async()
.
A given timer can be used over and over.
Once ZX_TIMER_SIGNALED is asserted, it will remain asserted until the timer is canceled (zx_timer_cancel()
) or reset (zx_timer_set()
).
The typical lifecycle is:
zx_timer_create()
zx_timer_set()
zx_handle_close()
zx_timer_create()
- create a timerzx_timer_set()
- set a timerzx_timer_cancel()
- cancel a timerExcept 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 2025-02-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-28 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4