Version 2 (modified by rgrieder, 16 years ago) (diff) |
---|
TracNav(TracNav/TOC_Development)?
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 |