OSExitThread

Syntax

#include <cafe/os.h>

void OSExitThread (int val);

Parameters

val The thread end value that the OSJoinThread function receives.

Return Values

None.

Description

Ends the current (called) thread and switches to the next runnable thread. When a thread function completes, this function is called automatically (by returning). That is, upon returning from a function specified when the thread was created, this function executes automatically.

Do Not Call From

Callbacks Do not call this function from any callback function.

See Also

OSCreateThread

Revision History

2013-05-08 Automated cleanup pass.
2012-08-01 Cleanup pass.
2010-08-30 Initial version.


CONFIDENTIAL