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>OSGetCurrentThread</title> 10</head> 11 12<body> 13 14<h1>OSGetCurrentThread</h1> 15 16 17<h2>C Specification</h2> 18<dl> 19<dd><pre><code>#include <revolution/os.h></code></pre></dd> 20<dd><pre><code>OSThread* OSGetCurrentThread(void);</code></pre></dd> 21</dl> 22 23<h2>Arguments</h2> 24 25<p>None.</p> 26 27<h2>Return Values</h2> 28 29<p>Pointer to the current thread.</p> 30 31<h2>Description</h2> 32 33<p>Gets the pointer to the current thread.</p> 34 35 36 37<h2>See Also</h2> 38 39<p><a href="../list.html#Thread" target="contents">Thread Functions</a>, <a href="../list.html#ThreadSynchronization" target="contents">Thread Synchronization Functions</a></p> 40 41<h2>Revision History</h2><p></p> 42 43<P>03/01/2006 Initial version.</p> 44 45</body> 46</html>