Planet
navi homeaboutscreenshotsdownloaddevelopmentforum

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
Last modified 8 years ago Last modified on Oct 7, 2008, 6:06:28 PM