nn::os::Thread::StartUsingAutoStack Member Function

Syntax

#include <nn/os.h>

void StartUsingAutoStack(
     void(*)() f,
     size_t stackSize,
     s32 priority = DEFAULT_THREAD_PRIORITY,
     s32 coreNo = CORE_NO_USE_PROCESS_VALUE
);

template <typename T, typename U>
void StartUsingAutoStack(
     void(*)(T) f,
     U param,
     size_t stackSize,
     s32 priority = DEFAULT_THREAD_PRIORITY,
     s32 coreNo = CORE_NO_USE_PROCESS_VALUE
);

List of Overloaded Member Functions

StartUsingAutoStack ( void(*)(), size_t, s32, s32 ) Initializes and runs a thread.
StartUsingAutoStack ( void(*)(T), U, size_t, s32, s32 ) Initializes and runs a thread.

Description of StartUsingAutoStack ( void(*)(), size_t, s32, s32 )

Automatically allocates a stack of the specified size or larger, and automatically destroys it when the thread terminates.

Description of StartUsingAutoStack ( void(*)(T), U, size_t, s32, s32 )

Automatically allocates a stack of the specified size or larger, and automatically destroys it when the thread terminates.


CONFIDENTIAL