nn::os::StackMemoryBlock::StackMemoryBlock Constructor

Syntax

#include <nn/os.h>

explicit StackMemoryBlock(
     size_t size
);

Parameters

Name Description
in size Size of memory to be allocated. The size argument must be a multiple of 4096.

Description

Constructs an object and allocates memory.

Calls Initialize internally to allocate memory.

If size is not a multiple of 4096 the value will be rounded up automatically internally, but try if at all possible to specify a size that is a multiple of 4096.

Revision History

2011/06/22
Added a note about the size.
2010/08/18
Initial version.

CONFIDENTIAL