class GuestBellTrap

Defined at line 71 of file ../../sdk/lib/async/include/lib/async/cpp/trap.h

A bell trap whose handler is bound to a |async::Task::Handler| function.

Prefer using |async::GuestBellTrapMethod| instead for binding to a fixed class member

function since it is more efficient to dispatch.

Public Methods

void GuestBellTrap (Handler handler)

Defined at line 21 of file ../../sdk/lib/async/trap.cc

void ~GuestBellTrap ()

Defined at line 24 of file ../../sdk/lib/async/trap.cc

void set_handler (Handler handler)

Defined at line 83 of file ../../sdk/lib/async/include/lib/async/cpp/trap.h

bool has_handler ()

Defined at line 84 of file ../../sdk/lib/async/include/lib/async/cpp/trap.h