On Tue, 24 Jul 2001, Linux @ Ramshyam wrote:
Actually what I mean is why a nap.. I mean what if it is non-stop
There's better things that the CPU could do than keep running your program. Polling is never good. Event driven programming is better. Unfortunately, not all systems are event driven. Cron is a better option, since it runs regularly anyway.
Philip