A dispatcher-specific sequence identifier, which identifies a set of actions
with a total ordering of execution: each subsequent action will always
observe side-effects from previous actions, if the thread(s) performing those
actions have the same sequence identifier.
Private state owned by the asynchronous dispatcher.
This allows the dispatcher to associate a small amount of state with pending
asynchronous operations without having to allocate additional heap storage of
its own.
Begins asynchronously waiting on an IRQ specified in |irq|.
Invokes the handler when the wait completes.
The irq’s handler will be invoked once for each interrupt packet received,
until the irq object is unbound with |async_unbind_irq| or the dispatcher is
shut down.
When the dispatcher is shutting down (being destroyed), if the irq has not
been unbound, the handlers of all remaining irqs will be invoked with a
status of |ZX_ERR_CANCELED|.
Returns the current time in the dispatcher’s timebase.
For most loops, this is generally obtained from |ZX_CLOCK_MONOTONIC|
but certain loops may use a different tiembase, notably for testing.
A dispatcher-specific sequence identifier, which identifies a set of actions
with a total ordering of execution: each subsequent action will always
observe side-effects from previous actions, if the thread(s) performing those
actions have the same sequence identifier.