/
ColdC/Functions/
ColdC/Structure/
<head><title>ColdC: Function/Method Reference: refresh()</title></head>

<body>

<h1 align=center><a href="/ColdC/">ColdC</a>: <a href="/ColdC/Functions/">Function/Method Reference</a>: refresh()</h1>

<hr>

<p>
<font size=+1><i>INTEGER</i> <b>refresh</b>()</font>

<p>This function checks the current frame's tick count.  If it is nearly
depleted it will preempt the task (similar to <a href="pause.html"><code>pause()</code></a>), resuming it with a new tick count after all other current
tasks have completed.

<p>If the server is running atomically, the task will not preempt, and the
tick count will automatically be refreshed.  See <a href="tasks.html">Frames and Tasks</a> for more information.

<p><hr size=4><p align=center><i>Last Modified on 26 Mar 1996</i>
<br><i>Copyright &copy; 1995, 1996, Brandon Gillespie</i>
</body>