#include <nitro/os.h>
void OS_ExitThread( void );
This terminates the current thread, then switches to the next executable thread.
If a thread is locking mutex, it unlocks all of the locked mutex. Therefore, if there is a thread that becomes executable by unlocking mutex, that thread is executed before a thread that becomes executable due to the end of the current thread.
This function automatically executes when the designated function ends when each thread is generated.
None
None
OS_InitThread,
OS_CreateThread,
OS_WakeupThread,
OS_WakeupThreadDirect
04/05/2004 Added description of unlocking
locked mutex
12/01/2003 Initial version