class SuspendTokenDispatcher

Defined at line 17 of file ../../zircon/kernel/object/include/object/suspend_token_dispatcher.h

Public Methods

zx_obj_type_t get_type ()

Defined at line 31 of file ../../zircon/kernel/object/include/object/suspend_token_dispatcher.h

zx_status_t Create (fbl::RefPtr<Dispatcher> task, KernelHandle<SuspendTokenDispatcher> * handle, zx_rights_t * rights)

Creates a new token which suspends |task|.

Returns:

ZX_OK on success

ZX_ERR_NO_MEMORY if the token could not be allocated

ZX_ERR_WRONG_TYPE if |task| is not a supported type

ZX_ERR_NOT_SUPPORTED if |task| is trying to suspend itself

Defined at line 59 of file ../../zircon/kernel/object/suspend_token_dispatcher.cc

void ~SuspendTokenDispatcher ()

Defined at line 83 of file ../../zircon/kernel/object/suspend_token_dispatcher.cc

void on_zero_handles ()

Defined at line 87 of file ../../zircon/kernel/object/suspend_token_dispatcher.cc