class AsyncWait

Defined at line 128 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 AsyncWait (async_wait_t * original_wait, Dispatcher & dispatcher)

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

void MarkPendingCancellation ()

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

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

bool is_pending_cancellation ()

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

void ~AsyncWait ()

Defined at line 173 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 179 of file ../../src/devices/bin/driver_runtime/dispatcher_internals.cc

bool Cancel ()

Defined at line 198 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 223 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 228 of file ../../src/devices/bin/driver_runtime/dispatcher_internals.cc