OS_SelectThread


C Specification

#include <nitro/os.h>
OSThread* OS_SelectThread( void );

Description

This function returns the pointer to the thread structure of the highest priority thread that can be currently active. When there is no operable thread, this returns a NULL.

Arguments

None

Return Values

The selected thread.

See Also

OS_RescheduleThread, OS_SleepThread, OS_WakeupThread, OS_WakeupThreadDirect

Revision History

12/01/2003 Initial Version