H A D | t_sleep.c | 98 do_nanosleep(struct timespec *delay, struct timespec *remain) in do_nanosleep() argument 102 if (nanosleep(delay, remain) == -1) in do_nanosleep() 110 do_select(struct timespec *delay, struct timespec *remain) in do_select() argument 115 TIMESPEC_TO_TIMEVAL(&tv, delay); in do_select() 125 do_poll(struct timespec *delay, struct timespec *remain) in do_poll() argument 130 TIMESPEC_TO_TIMEVAL(&tv, delay); in do_poll() 131 if (pollts(NULL, 0, delay, NULL) == -1) in do_poll() 140 do_sleep(struct timespec *delay, struct timespec *remain) in do_sleep() argument 144 TIMESPEC_TO_TIMEVAL(&tv, delay); in do_sleep() 145 remain->tv_sec = sleep(delay->tv_sec); in do_sleep() [all …]
|