nn::os::Thread::Start Member Function#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
);
| Name | Description |
|---|---|
| Stack | Type representing stacks. |
| Name | Description | |
|---|---|---|
| in | f | Pointer to the function to begin running. |
| in | stack | Object representing the stack region. |
| in | priority | Priority of the thread. |
| in | coreNo | Preferred processor for the thread. |
Initializes and runs a thread.
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