StackMemory

nn::os::StackMemory::StackMemory Constructor

Syntax

StackMemory();

explicit StackMemory(
     void * pMem,
     size_t size
);

List of Overloaded Member Functions

StackMemory() Constructs an object.
StackMemory(void *, size_t) Constructs an object and partitions a memory region.

Description of StackMemory

Does not initialize the object when no arguments are specified. You must make a separate call to TryInitialize or Initialize.

Description of StackMemory(void *, size_t)

Internally calls the Initialize function.

For this reason, this function can only partition memory allocated from the heap region. It cannot partition buffers allocated statically from the code region, and it cannot partition regions in device memory.

See Initialize for details.


CONFIDENTIAL