nn::os::Thread::TryStart Member Function#include <nn/os.h> template <typename Stack> nn::Result TryStart( void(*)() f, Stack & stack, s32 priority = DEFAULT_THREAD_PRIORITY, s32 coreNo = CORE_NO_USE_PROCESS_VALUE ); template <typename T, typename U, typename Stack> nn::Result TryStart( void(*)(T) f, U param, Stack & stack, s32 priority = DEFAULT_THREAD_PRIORITY, s32 coreNo = CORE_NO_USE_PROCESS_VALUE );
| TryStart ( void(*)(), Stack &, s32, s32 ) | Tries to initialize and run a thread. |
| TryStart ( void(*)(T), U, Stack &, 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