class ScopedMemoryAllocationDisabled

Defined at line 1995 of file ../../zircon/kernel/include/kernel/thread.h

RAII helper to enforce that a block of code does not allocate memory.

See |Thread::Current::memory_allocation_state()|.

Public Methods

void ScopedMemoryAllocationDisabled ()

Defined at line 1997 of file ../../zircon/kernel/include/kernel/thread.h

void ~ScopedMemoryAllocationDisabled ()

Defined at line 1998 of file ../../zircon/kernel/include/kernel/thread.h

void ScopedMemoryAllocationDisabled (const ScopedMemoryAllocationDisabled & )

Defined at line 1999 of file ../../zircon/kernel/include/kernel/thread.h

void ScopedMemoryAllocationDisabled (ScopedMemoryAllocationDisabled && )

Defined at line 1999 of file ../../zircon/kernel/include/kernel/thread.h

ScopedMemoryAllocationDisabled & operator= (const ScopedMemoryAllocationDisabled & )

Defined at line 1999 of file ../../zircon/kernel/include/kernel/thread.h

ScopedMemoryAllocationDisabled & operator= (ScopedMemoryAllocationDisabled && )

Defined at line 1999 of file ../../zircon/kernel/include/kernel/thread.h