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>OSSleepMicroseconds</title> 10</head> 11 12<body> 13 14<h1>OSSleepMicroseconds</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/os.h> 19 20void OSSleepTicks ( OSTime ticks ); 21 22#define OSSleepMicroseconds( usec ) OSSleepTicks( OSMicrosecondsToTicks(usec) ) 23</pre></dd></dl> 24 25<h2>Arguments</h2> 26<TABLE class="arguments" border="1" > 27 <tr> 28<TH>usec</TH> 29<TD>The time (in microseconds) to pause the current thread.</TD> 30 </tr> 31</TABLE> 32 33<h2>Return Values</h2> 34<p>None.</p> 35 36<h2>Description</h2> 37<p>Pauses the current thread and returns it to an executable state after the number of microseconds specified in <SPAN class="argument">usec</SPAN> has elapsed. The timing with which the thread will actually restart will vary based on the state of other threads and interrupt processes.</p> 38 39<h2>See Also</h2> 40<P class="reference"> 41<A href="../toc.html#Thread" target="contents">Thread Functions</A>, 42<A href="../toc.html#ThreadSynchronization" target="contents">Thread Synchronization Functions</A>, 43<a href="OSSleepTicks.html">OSSleepTicks</a>, 44<a href="OSSleepSeconds.html">OSSleepSeconds</a>, 45<a href="OSSleepMilliseconds.html">OSSleepMilliseconds</a>, 46<a href="OSSleepNanoseconds.html">OSSleepNanoseconds</a> 47</P> 48 49<h2>Revision History</h2> 50<P> 512006/08/11 Initial version.<br> 52</p> 53 54<hr><p>CONFIDENTIAL</p></body> 55</html>