OSGetCurrentThread

Syntax

#include <revolution/os.h>

OSThread* OSGetCurrentThread(void);

Arguments

None.

Return Values

Pointer to the current thread.

Description

Gets the pointer to the current thread. A NULL pointer is returned if this function is called within an exception handler or a callback function.

See Also

Thread Functions, Thread Synchronization Functions

Revision History

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