nn::os::Thread::TryStartUsingAutoStack Member Function#include <nn/os.h> nn::Result TryStartUsingAutoStack( void(*)() f, size_t stackSize, s32 priority = DEFAULT_THREAD_PRIORITY, s32 coreNo = CORE_NO_USE_PROCESS_VALUE ); template <typename T, typename U> nn::Result TryStartUsingAutoStack( void(*)(T) f, U param, size_t stackSize, s32 priority = DEFAULT_THREAD_PRIORITY, s32 coreNo = CORE_NO_USE_PROCESS_VALUE );
| TryStartUsingAutoStack ( void(*)(), size_t, s32, s32 ) | Tries to initialize and run a thread. |
| TryStartUsingAutoStack ( void(*)(T), U, size_t, s32, s32 ) | Tries to initialize and run a thread. |
This function attempts to initialize and run a thread; it returns an error if it fails because of insufficient resources or any other such reason.
This function attempts to initialize and run a thread; it returns an error if it fails because of insufficient resources or for any other such reason.
CONFIDENTIAL