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