class AsyncWait

Defined at line 129 of file ../../src/devices/bin/driver_runtime/dispatcher_internals.h

Indirect wait object which is used to ensure waits are tracked and synchronize waits on

SYNCHRONIZED dispatchers.

Public Methods

void MarkPendingCancellation ()

Sets the pending_cancellation_ flag to true. See that field's comment for details.

Defined at line 153 of file ../../src/devices/bin/driver_runtime/dispatcher_internals.h

bool is_pending_cancellation ()

Defined at line 154 of file ../../src/devices/bin/driver_runtime/dispatcher_internals.h

void AsyncWait (async_wait_t * original_wait, Dispatcher & dispatcher, bool is_always_on)

Defined at line 154 of file ../../src/devices/bin/driver_runtime/dispatcher_internals.cc

void ~AsyncWait ()

Defined at line 182 of file ../../src/devices/bin/driver_runtime/dispatcher_internals.cc

zx_status_t BeginWait (std::unique_ptr<AsyncWait> wait, Dispatcher & dispatcher)

static

Defined at line 188 of file ../../src/devices/bin/driver_runtime/dispatcher_internals.cc

bool Cancel ()

Defined at line 207 of file ../../src/devices/bin/driver_runtime/dispatcher_internals.cc

void Handler (async_dispatcher_t * dispatcher, async_wait_t * wait, zx_status_t status, const zx_packet_signal_t * signal)

static

Defined at line 232 of file ../../src/devices/bin/driver_runtime/dispatcher_internals.cc

void OnSignal (async_dispatcher_t * async_dispatcher, zx_status_t status, const zx_packet_signal_t * signal)

Defined at line 237 of file ../../src/devices/bin/driver_runtime/dispatcher_internals.cc