async

Summary

Functions

NewTestLoopDispatcher(async_dispatcher_t **dispatcher, async_test_subloop_t **loop)
void
Now(async_dispatcher_t *dispatcher)
PostDelayedTask(async_dispatcher_t *dispatcher, fit::closure handler, zx::duration delay)
zx_status_t
PostTask(async_dispatcher_t *dispatcher, fit::closure handler)
zx_status_t
PostTaskForTime(async_dispatcher_t *dispatcher, fit::closure handler, zx::time deadline)
zx_status_t
__TA_CAPABILITY("mutex") sequence_checker final
class

Classes

async::Context
async::Executor
async::GuestBellTrap
async::GuestBellTrapBase
async::GuestBellTrapMethod
async::Irq
async::IrqBase
async::IrqMethod
async::Loop

C++ wrapper for an asynchronous dispatch loop.

async::LoopInterface
async::PagedVmo
async::PagedVmoBase
async::PagedVmoMethod
async::Receiver
async::ReceiverBase
async::ReceiverMethod
async::SubloopToken
async::Task
async::TaskBase
async::TaskClosure
async::TaskClosureMethod
async::TaskMethod
async::TestLoop
async::Wait
async::WaitBase
async::WaitMethod
async::WaitOnce

Structs

async::DispatcherStub

Functions

NewTestLoopDispatcher

void NewTestLoopDispatcher(
  async_dispatcher_t **dispatcher,
  async_test_subloop_t **loop
)

Now

zx::time Now(
  async_dispatcher_t *dispatcher
)

PostDelayedTask

zx_status_t PostDelayedTask(
  async_dispatcher_t *dispatcher,
  fit::closure handler,
  zx::duration delay
)

PostTask

zx_status_t PostTask(
  async_dispatcher_t *dispatcher,
  fit::closure handler
)

PostTaskForTime

zx_status_t PostTaskForTime(
  async_dispatcher_t *dispatcher,
  fit::closure handler,
  zx::time deadline
)

__TA_CAPABILITY

class __TA_CAPABILITY(
  "mutex"
) sequence_checker final