class MemoryAllocationState
Defined at line 1081 of file ../../zircon/kernel/include/kernel/thread.h
Keeps track of whether a thread is allowed to allocate memory.
A thread's |MemoryAllocationState| should only be accessed by that thread itself or interrupt
handlers running in the thread's context.
Public Methods
void Disable ()
Defined at line 1083 of file ../../zircon/kernel/include/kernel/thread.h
void Enable ()
Defined at line 1089 of file ../../zircon/kernel/include/kernel/thread.h
bool IsEnabled ()
Returns true if memory allocation is allowed.
Defined at line 1097 of file ../../zircon/kernel/include/kernel/thread.h