Version 3 (modified by landauf, 8 years ago) (diff) |
---|
Sleep
Every operating system has its own way sleep function. That is quite annoying and we haven't yet found a library that deals easily with it. So we simply defined the following functions for linux and windows:
sleep(unsigned long value) | Makes the current thread sleep for value seconds |
msleep(unsigned long value) | Makes the current thread sleep for value milliseconds |
usleep(unsigned long value) | Makes the current thread sleep for value microseconds |