OSExitThread

Syntax

#include <revolution/os.h>

void OSExitThread(void* val);

Arguments

val The thread exit value taken by the OSJoinThread function.

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). In other words, this function executes upon return from a function specified at the time the thread was created.

See Also

Thread Functions, Thread Synchronization Functions, OSCreateThread, OSCancelThread

Revision History

2006/03/01 Initial version.


CONFIDENTIAL