Structs§
- async_
dispatcher - async_
guest_ bell_ trap - Holds context for a bell trap and its handler.
- async_
irq - async_
ops - async_
ops_ v1 - Operations supported by |ASYNC_OPS_V1|.
- async_
ops_ v2 - async_
ops_ v3 - async_
ops_ v4 - async_
paged_ vmo - Holds content for a paged request packet receiver and its handler.
- async_
receiver - Holds content for a packet receiver and its handler.
- async_
sequence_ id - 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.
- async_
state_ t - 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.
- async_
task - Holds context for a task and its handler.
- async_
wait - Holds context for an asynchronous wait operation and its handler.
Constants§
Functions§
- async_
acquire_ ⚠shared_ ref - If supported, acquires a shared dispatcher reference for this dispatcher.
- async_
begin_ ⚠wait - Begins asynchronously waiting for an object to receive one or more signals specified in |wait|. Invokes the handler when the wait completes.
- async_
cancel_ ⚠task - Cancels the task associated with |task|.
- async_
cancel_ ⚠wait - Cancels the wait associated with |wait|.
- async_
check_ ⚠sequence_ id - Checks that the the dispatcher-specific sequence identifier of the currently executing task is equal to |sequence_id|.
- async_
create_ ⚠paged_ vmo - Create a pager owned VMO.
- async_
detach_ ⚠paged_ vmo - Detach ownership of VMO from pager.
- async_
get_ default_ dispatcher - Gets the currently active async dispatcher for the current thread, if set.
- async_
get_ ⚠sequence_ id - Gets the dispatcher-specific sequence identifier of the currently executing task.
- async_
now ⚠ - 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.
- async_
post_ ⚠task - Posts a task to run on or after its deadline following all posted tasks with lesser or equal deadlines.
- async_
queue_ ⚠packet - Enqueues a packet of data for delivery to a receiver.
- async_
release_ ⚠shared_ ref - Releases a shared dispatcher reference for this dispatcher.
- async_
set_ ⚠default_ dispatcher - Sets the current thread’s default asynchronous dispatcher interface. May be set to |NULL| if this thread doesn’t have a default dispatcher.
- async_
set_ ⚠guest_ bell_ trap - Sets a bell trap in the guest to be handled asynchronously via a handler.
Type Aliases§
- async_
dispatcher_ t - Dispatcher interface for performing asynchronous operations. There may be multiple implementations of this interface.
- async_
guest_ bell_ trap_ handler_ t - Handles an asynchronous trap access.
- async_
guest_ bell_ trap_ t - Holds context for a bell trap and its handler.
- async_
irq_ t - async_
ops_ t - async_
ops_ version_ t - Asynchronous dispatcher interface.
- async_
paged_ vmo_ handler_ t - Handles port packets containing page requests.
- async_
paged_ vmo_ t - Holds content for a paged request packet receiver and its handler.
- async_
receiver_ handler_ t - Handles receipt of packets containing user supplied data.
- async_
receiver_ t - Holds content for a packet receiver and its handler.
- async_
sequence_ id_ t - 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.
- async_
task_ handler_ t - Handles execution of a posted task.
- async_
task_ t - Holds context for a task and its handler.
- async_
wait_ handler_ t - Handles completion of asynchronous wait operations.
- async_
wait_ t - Holds context for an asynchronous wait operation and its handler.