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>VIWaitForRetrace</title>
10</head>
11
12<body>
13
14<h1 align="left">VIWaitForRetrace</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">#include &lt;revolution/vi.h&gt;
18
19void VIWaitForRetrace(void);
20</pre></dd></dl>
21
22<h2>Arguments</h2>
23<p>None.</p>
24
25<h2>Return Values</h2>
26<p>None.</p>
27
28<h2>Description</h2>
29<p>This function waits until the next vertical retrace interrupt occurs.&nbsp;If an idle function has been set, this function will be called..</p>
30<p>This function may put the current thread to sleep. For precautions when calling similar functions, refer to <a href="../os/Interrupt/intro.html">Interrupts and Callback Functions</a>.</p>
31
32<h2>See Also</h2>
33<P class="reference">
34<a href="../os/Thread/OSGetIdleFunction.html">OSGetIdleFunction</a>,
35<a href="../os/Interrupt/intro.html">Interrupts and Callback Functions</a>
36</p>
37
38<h2>Revision History</h2>
39<P>
402007/09/25 Added information on the sleep status of threads.<br>2006/03/01 Initial version.<br>
41</p>
42
43<hr><p>CONFIDENTIAL</p></body>
44</html>