#include <revolution/os.h> OSThread* OSGetCurrentThread(void);
None.
Pointer to the current thread.
Gets the pointer to the current thread.
Note: If this function is called inside an exception handler or a callback function and there is an executing thread, a pointer to that thread is returned. If there is no executing thread, a null pointer is returned.
Thread Functions
Thread Synchronization Functions
2009/02/19 Added a note about calling this function from inside an exception handler or callback function.
2007/03/xx Added a description of the behavior that occurs when invoked from an exception handler or a callback function.
2006/03/01 Initial version.
CONFIDENTIAL