1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>OS_GetNumberOfThread</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">OS_GetNumberOfThread <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<DL>
14  <DD>
15  <PRE><CODE>#include &lt;nitro/os.h&gt;</CODE></PRE>
16  <PRE><CODE>int OS_GetNumberOfThread( void );
17  </CODE></PRE>
18</DL>
19<H2>Arguments</H2>
20<P>None.</P>
21<H2>Return Values</H2>
22<P>The number of threads currently being created.</P>
23<H2>Description</H2>
24<P>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.</P>
25<H2>See Also</H2>
26<P><code><a href="OS_InitThread.html">OS_InitThread</a>, <a  href="OS_CreateThread.html">OS_CreateThread</a></code></P>
27<H2>Revision History</H2>
28<P>2004/05/26 Initial version.</P>
29<hr><p>CONFIDENTIAL</p></body>
30</HTML>