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>C Specification</h2> 17 18<dl> 19 <dd><pre><code>#include <revolution/vi.h></code></pre> 20 </dd> 21 <dd><pre><code>void VIWaitForRetrace(void)</code></pre> 22 </dd> 23</dl> 24 25<h2>Arguments</h2> 26 27<p>None.</p> 28 29<h2>Return Values</h2> 30 31<p>None.</p> 32 33<h2>Description</h2> 34 35<p>This function waits until the next vertical retrace interrupt occurs. If an idle function has been set, this function will be called..</p> 36<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> 37 38<h2>See Also</h2> 39<p> 40<code><a href="../os/Thread/OSGetIdleFunction.html">OSGetIdleFunction</a></code>, <a href="../os/Interrupt/intro.html">Interrupts and Callback Functions</a> 41</p> 42<h2>Revision History</h2> 43<p> 442007/09/25 Added information on the sleep status of threads.<br>2006/03/01 Initial version.<br> 45</p> 46<hr><p>CONFIDENTIAL</p></body> 47</html>