Friday, February 15, 2013

usleep(1000) does not sleep.

I just discovered that usleep(1000) is not equal to msleep(1) on Mac OS. If you do a usleep(1000), it returns immediately without sleeping!

No comments:

Post a Comment