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_GetThreadParameter</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">OS_GetThreadParameter <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>void* OS_GetThreadParameter( const OSThread* thread );</CODE></PRE> 17</DL> 18<H2>Arguments</H2> 19<TABLE border="1" width="100%"> 20 <TBODY> 21 <TR> 22 <TD width="13%"><EM><STRONG>thread</STRONG></EM></TD> 23 <TD width="87%">Pointer to the thread structure</TD> 24 </TR> 25 </TBODY> 26</TABLE> 27<H2>Return Values</H2> 28<P>Value of the user parameter of the specified thread.</P> 29<H2>Description</H2> 30<P>This function gets the user parameter of a thread.</P> 31<P>The user parameter is a region that can be used freely by the user. One <CODE>void*</CODE> type region is give to all threads for this purpose, and its value may be used in any way. The system does not modify or reference this value.</P> 32<P>The user parameter is set using <CODE><A href="OS_SetThreadParameter.html">OS_SetThreadParameter</A></CODE>.</P> 33<H2>See Also</H2> 34<P><CODE><A href="OS_SetThreadParameter.html">OS_SetThreadParameter</A></CODE></P> 35<H2>Revision History</H2> 36<P>2005/09/06 Added <CODE>const</CODE> to the argument of the <CODE>OSThread*</CODE> model.<BR> 2005/07/08 Initial version.</P> 37<hr><p>CONFIDENTIAL</p></body> 38</HTML>