Quote:
Originally Posted by DrakilorP2P
Can someone explain why sleep() is so horrible it warrants such a huge text? Does it halt the entire machine or what?
|
Lol, no, but it does mess with timeouts. I don't know the exact extent of what sleep does, but considering that it was made before functions could wait I think it does a bit more than simply halting execution for the current thread. When I want a function to pause and not interfere with anything else I use waitfor().