Rev 1452 | Rev 1462 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1452 | Rev 1453 | ||
---|---|---|---|
Line 95... | Line 95... | ||
95 | tv->tv_sec = s1; |
95 | tv->tv_sec = s1; |
96 | 96 | ||
97 | return 0; |
97 | return 0; |
98 | } |
98 | } |
99 | 99 | ||
100 | /** Wait unconditionally for specified miliseconds */ |
100 | /** Wait unconditionally for specified microseconds */ |
101 | void usleep(unsigned long usec) |
101 | void usleep(unsigned long usec) |
102 | { |
102 | { |
103 | atomic_t futex = FUTEX_INITIALIZER; |
103 | atomic_t futex = FUTEX_INITIALIZER; |
104 | 104 | ||
105 | futex_initialize(&futex,0); |
105 | futex_initialize(&futex,0); |