nn::os::ManagedThread::TryInitializeUsingAutoStack Member Function#include <nn/os.h> nn::Result TryInitializeUsingAutoStack( void(*)() f, size_t stackSize, s32 priority = PRIORITY_DEFAULT, s32 coreNo = CORE_NO_DEFAULT );
| Name | Description | |
|---|---|---|
| in | f | Pointer to the function that will run on the created thread. |
| in | stackSize | Size of buffer for stack being allocated. |
| in | priority | Priority of the thread being created. |
| in | coreNo | Preferred processor for the thread being created. |
Automatically allocates stack and creates thread.
Performs the same processing as the TryInitializeUsingAutoStack<T, U> function, with the exception that a function that does not take arguments is used as the thread function. For details, see the TryInitializeUsingAutoStack<T, U> function.
CONFIDENTIAL