Searched refs:time_to_sleep (Results 1 - 7 of 7) sorted by path
/freebsd-11-stable/bin/sleep/ |
H A D | sleep.c | 68 struct timespec time_to_sleep; local 85 original = time_to_sleep.tv_sec = (time_t)d; 86 time_to_sleep.tv_nsec = 1e9 * (d - time_to_sleep.tv_sec); 95 while (nanosleep(&time_to_sleep, &time_to_sleep) != 0) { 99 (int)time_to_sleep.tv_sec, (int)original);
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | sleep.c | 50 struct timespec time_to_sleep; local 60 time_to_sleep.tv_sec = seconds; 61 time_to_sleep.tv_nsec = 0; 64 &time_to_sleep, &time_remaining) != -1)
|
H A D | usleep.c | 48 struct timespec time_to_sleep; local 50 time_to_sleep.tv_nsec = (useconds % 1000000) * 1000; 51 time_to_sleep.tv_sec = useconds / 1000000; 53 __libc_interposing[INTERPOS_nanosleep])(&time_to_sleep, NULL));
|
/freebsd-11-stable/lib/libc/net/ |
H A D | rcmd.c | 194 struct timespec time_to_sleep, time_remaining; local 196 time_to_sleep.tv_sec = timo; 197 time_to_sleep.tv_nsec = 0; 198 (void)_nanosleep(&time_to_sleep, &time_remaining);
|
/freebsd-11-stable/lib/libthr/thread/ |
H A D | thr_syscalls.c | 264 const struct timespec *time_to_sleep, struct timespec *time_remaining) 271 ret = __sys_clock_nanosleep(clock_id, flags, time_to_sleep, 279 __thr_nanosleep(const struct timespec *time_to_sleep, argument 287 ret = __sys_nanosleep(time_to_sleep, time_remaining); 263 __thr_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *time_to_sleep, struct timespec *time_remaining) argument
|
/freebsd-11-stable/tools/KSE/ksetest/ |
H A D | kse_threads_test.c | 104 struct timespec time_to_sleep; local 107 time_to_sleep.tv_sec = 0; 108 time_to_sleep.tv_nsec = len * 10000; 109 nanosleep(&time_to_sleep, &time_remaining);
|
/freebsd-11-stable/lib/libc/yp/ |
H A D | yplib.c | 485 struct timespec time_to_sleep, time_remaining; local 490 time_to_sleep.tv_sec = _yplib_timeout/2; 491 time_to_sleep.tv_nsec = 0; 492 _nanosleep(&time_to_sleep,
|
Completed in 193 milliseconds