nn::os::Thread::GetCurrentId Member Function#include <nn/os.h> static bit32 GetCurrentId();
None.
Gets the thread ID of the current thread.
Because the execution load of this function is rather large, frequent calls may lead to lowered performance.
A low-cost thread ID check can be implmented using functions like nn::os::ThreadLocalStorage.
CONFIDENTIAL