- Timestamp:
- Nov 2, 2008, 4:57:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/util/Sleep.h
r2111 r2123 67 67 inline void usleep(unsigned long usec) 68 68 { 69 usleep(usec);69 ::usleep(usec); 70 70 } 71 71 inline void msleep(unsigned long msec) 72 72 { 73 usleep(msec * 1000);73 ::usleep(msec * 1000); 74 74 } 75 75 inline void sleep(unsigned long sec) 76 76 { 77 usleep(sec * 1000000);77 ::usleep(sec * 1000000); 78 78 } 79 79 }
Note: See TracChangeset
for help on using the changeset viewer.