nn::os::Thread::Start Member Function

Syntax

#include <nn/os.h>

template <typename Stack>
void Start(
     void(*)() f,
     Stack & stack,
     s32 priority = DEFAULT_THREAD_PRIORITY,
     s32 coreNo = CORE_NO_USE_PROCESS_VALUE
);

template <typename T, typename U, typename Stack>
void Start(
     void(*)(T) f,
     U param,
     Stack & stack,
     s32 priority = DEFAULT_THREAD_PRIORITY,
     s32 coreNo = CORE_NO_USE_PROCESS_VALUE
);

List of Overloaded Member Functions

Start ( void(*)(), Stack &, s32, s32 ) Initializes and runs a thread.
Start ( void(*)(T), U, Stack &, s32, s32 ) Initializes and runs a thread.

Description of Start ( void(*)(), Stack &, s32, s32 )

Initializes a thread using a stack prepared by the user application, then starts the thread. The stack region must be maintained until it is confirmed that the thread has been terminated.

Description of Start ( void(*)(T), U, Stack &, s32, s32 )

Initializes a thread using a stack prepared by the user application, then starts the thread. The stack region must be maintained until it is confirmed that the thread has been terminated.


CONFIDENTIAL