PHP code explain
<p>Can anyone explain me how <strong>usleep</strong> or <strong>sleep</strong> helps to unload the CPU.<br>
I have written sample code as below.</p>

<pre><code>while (1) // check if the data file has been modified 
{
  usleep(10000); // sleep 10ms to unload the CPU**
  clearstatcache();
  $currentmodif = filemtime($filename);
}
</code></pre>
