nn::os::ManagedThread::GetCurrentThread Member Function#include <nn/os.h> static ManagedThread * GetCurrentThread();
None.
ManagedThread corresponding to the current thread. When the current thread is not a thread created by ManagedThread, the function returns NULL. Gets the pointer to the ManagedThread corresponding to the current thread.
This function gets the pointer to the ManagedThread that created the current thread. Note that the obtained pointer might be invalid, having already been processed by Detach and Finalize.
When the current thread was not created by ManagedThread (for example, if it is a thread that was created by Thread), then this function returns NULL.
CONFIDENTIAL