OSExitThread

C Specification

#include <revolution/os.h>
void OSExitThread (void* val);

Arguments

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

See Also

Thread Synchronization, Thread Synchronization Functions,
OSCreateThreadOSCancelThread

Revision History

2006/03/01 Initial version.


CONFIDENTIAL