nn::os::Thread::StartUsingAutoStack Member Function#include <nn/os.h>
void StartUsingAutoStack(
void(*)() f,
size_t stackSize,
s32 priority = DEFAULT_THREAD_PRIORITY,
s32 coreNo = CORE_NO_USE_PROCESS_VALUE
);
| Name | Description | |
|---|---|---|
| in | f | Pointer to the function to begin running. |
| in | stackSize | The stack size. Must be a positive integer multiple of 4096. |
| in | priority | Priority of the thread. |
| in | coreNo | Specifies the thread's preferred processor and affinity mask. |
Initializes and runs a thread.
Automatically allocates a stack of the specified size, and automatically destroys it when the thread terminates.
Note:In the present implementation, the application cannot specify a preferred processor. You MUST specify CORE_NO_USE_PROCESS_VALUE.
CONFIDENTIAL