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_GetThreadPriority</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">OS_GetThreadPriority <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 <nitro/os.h></CODE></PRE> 16 <PRE><CODE>u32 OS_GetThreadPriority( OSThread* thread ); 17 </CODE></PRE> 18</DL> 19<H2>Arguments</H2> 20<TABLE border="1" width="100%"> 21 <TBODY> 22 <TR> 23 <TD width="13%"><EM><STRONG>thread</STRONG></EM></TD> 24 <TD width="87%">Pointer to the thread structure used to acquire priority levels</TD> 25 </TR> 26 </TBODY> 27</TABLE> 28<H2>Return Values</H2> 29<P>The priority level of the specified thread.</P> 30<H2>Description</H2> 31<P>Returns the priority level of a thread. The priorities range from 0 - 31.</P> 32<H2>See Also</H2> 33<P><CODE><A href="OS_InitThread.html">OS_InitThread</A>, <A href="OS_SetThreadPriority.html">OS_SetThreadPriority</A><BR></CODE></P> 34<H2>Revision History</H2> 35<P>2005/09/06 Added <CODE>const</CODE> to the argument of the <CODE>OSThread*</CODE> model.<BR> 2004/02/26 Initial version.</P> 36<hr><p>CONFIDENTIAL</p></body> 37</HTML>