# OS_SelectThread

## C Specification

      #include <nitro/os.h>

      OSThread* OS_SelectThread( void );

## Arguments

None.

## Return Values

The selected thread.

## 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 NULL.

## See Also

`OS_RescheduleThread, OS_SleepThread, OS_WakeupThread, OS_WakeupThreadDirect
`

## Revision History

12/01/2003 Initial Version

CONFIDENTIAL