# OS_GetThreadPriority

## C Specification

      #include <nitro/os.h>

      u32 OS_GetThreadPriority( OSThread* thread );

## Arguments

thread | Pointer to the thread structure used to acquire priority levels

## Return Values

The priority level of the specified thread.

## Description

This function returns the priority level of a thread. The priorities range from 0 - 31.

## See Also

`OS_InitThread, OS_SetThreadPriority
`

## Revision History

09/06/2005 Added const to OSThread* type arguments.
02/26/2004 Initial version.