Not sure if the above can handle anything smaller than seconds, but if you need to wait for a granularity of time less than one second you can use select():<br><br><FONT FACE=monospace>include <sys/time.h><br><br>void main<br>{<br> struct timeval timeout;<br><br> /* set timeout to 0 seconds and 200 milliseconds */<br> timeout.tv_sec = 0;<br> timeout.tv_usec = 200;<br><br> /* waits for 200 milliseconds */<br> select(NULL, NULL, NULL, &timeout);<br>}</font><br><br>Hope that helps!<br>Loon