nn::os::AutoStackManager Class

Syntax

class AutoStackManager

Description

Stack manager interface used by the Thread::StartUsingAutoStack function.

This is the interface class used for allocating and releasing stacks in the Thread::StartUsingAutoStack and Thread::TryStartUsingAutoStack functions.

Because this class has pure virtual functions, you cannot create an instance of this class. Create a derived class and use an instance of that class.

Used with the Thread::SetAutoStackManager function.

Implementations of pure virtual functions must be thread-safe.

Member Functions

V ~AutoStackManager Destructor.
PV Construct Allocates memory for the stack.
PV Destruct Releases the memory for the stack.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL