Enumerations

enum class DispatcherState
Name Value Comments
kRunning 0

The dispatcher is running and accepting new requests.

kShuttingDown 1

The dispatcher is in the process of shutting down.

kShutdown 2

The dispatcher has completed shutdown and can be destroyed.

kDestroyed 3

The dispatcher is about to be destroyed.

Defined at line 23 of file ../../src/devices/bin/driver_runtime/dispatcher_state.h

enum NonInlinedReason : uint8_t
Name Value Comments
kAllowSyncCalls 0

Dispatcher has the ALLOW_SYNC_CALLS option set.

kDispatchingOnAnotherThread 1

The dispatcher is already handling a request on another thread.

kTask 2

It was a posted task.

kUnknownThread 3

We are queueing to a dispatcher that is running on a non-runtime managed thread.

kReentrant 4

We are queueing to a dispatcher that is already in the callstack.

kChannelWaitNotYetRegistered 5

The channel received a message, but no channel read was registered yet.

kNoThreadMigration 6

We are queueing to a dispatcher that does not allow thread migration

Why a request was not inlined.

Defined at line 35 of file ../../src/devices/bin/driver_runtime/dispatcher_state.h

Records

Functions

  • DispatcherCoordinator & GetDispatcherCoordinator ()

    Returns the currently active dispatcher coordinator

    Defined at line 15 of file ../../src/devices/bin/driver_runtime/dispatcher_coordinator.cc

Variables

HandleTableArena gHandleTableArena

Defined at line 99 of file ../../src/devices/bin/driver_runtime/handle.cc

const async_ops_t g_veneer_ops

Defined at line 100 of file ../../src/devices/bin/driver_runtime/dispatcher.cc