Changes between Initial Version and Version 1 of code/doc/Sleep
- Timestamp:
- Oct 7, 2008, 6:06:05 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/Sleep
v1 v1 1 = Sleep = 2 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: 3 4 || sleep(unsigned long value) || Makes the current thread sleep for ''value'' seconds || 5 || msleep(unsigned long value) || Makes the current thread sleep for ''value'' milliseconds || 6 || usleep(unsigned long value) || Makes the current thread sleep for ''value'' microseconds ||