class MemoryAllocationState
Defined at line 452 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 454 of file ../../zircon/kernel/include/kernel/thread.h
void Enable ()
Defined at line 460 of file ../../zircon/kernel/include/kernel/thread.h
bool IsEnabled ()
Returns true if memory allocation is allowed.
Defined at line 468 of file ../../zircon/kernel/include/kernel/thread.h
Friends
class MemoryAllocationStateLayout