1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>OSGetThreadPriority</title> 10</head> 11 12<body> 13 14<h1>OSGetThreadPriority</h1> 15 16<h2>C Specification</h2> 17 18<dl> 19<dd><pre><code>#include <revolution/os.h></code></pre> 20 </dd> 21<dd><pre><code>OSPriority OSGetThreadPriority (OSThread* thread);</code></pre> 22 </dd> 23</dl> 24 25<h2>Arguments</h2> 26<TABLE border="1" cellpadding="3" cellspacing="0.1"> 27 <tr> 28<TD width="120" bgcolor="#ffffe8"><i><b><code><STRONG><EM><CODE>thread</CODE></EM></STRONG></code></b></i></TD> 29<TD width="520">Pointer to the thread of which to get the priority.</TD> 30 </tr> 31</TABLE> 32<h2>Return Values</h2> 33 34<p>The thread's scheduling priority.</p> 35 36<h2>Description</h2> 37 38<p>Returns the priority that will become the scheduling base for the specified thread.</p> 39 40 41 42<h2>See Also</h2> 43 44<p><a href="../toc.html#Thread" target="contents">Thread Synchronization</a>, <a href="../toc.html#ThreadSynchronization" target="contents">Thread Synchronization Functions</a>, <a href="OSCreateThread.html"><code>OSCreateThread</code></a>, <a href="OSSetThreadPriority.html"><code>OSSetThreadPriority</code></a></p> 45 46<h2>Revision History</h2><p></p> 47 48<P>2006/03/01 Initial version.</p> 49 50<hr> 51<P>CONFIDENTIAL</p> 52</BODY> 53</HTML>