# OS_GetNumberOfThread

## Syntax

      #include <nitro/os.h>

      int OS_GetNumberOfThread( void );

## Arguments

None.

## Return Values

The number of threads currently being created.

## Description

Gets the number of threads currently being created. The value refers to the number of threads currently being run by the program on the processor, and does not relate to the number of other threads running on another processor.

## See Also

`OS_InitThread, OS_CreateThread`

## Revision History

2004/05/26 Initial version.

CONFIDENTIAL