That way you only need two usleep() calls.
In reply to Re: Alternatives for "sleepy" while loop by moritz in thread Alternatives for "sleepy" while loop by walto