Home
last modified time | relevance | path

Searched refs:wait_time (Results 1 – 4 of 4) sorted by relevance

/glibc-2.36/sysdeps/pthread/
Dtst-mtx-timedlock.c32 static struct timespec wait_time; variable
63 choose_action (mtx_timedlock (&mutex, &wait_time), child_name); in child_add()
76 if (clock_gettime (CLOCK_REALTIME, &wait_time) != 0) in do_test()
80 wait_time.tv_nsec += 1; in do_test()
81 if (wait_time.tv_nsec == 1000 * 1000 * 1000) in do_test()
83 wait_time.tv_sec += 1; in do_test()
84 wait_time.tv_nsec = 0; in do_test()
90 choose_action (mtx_timedlock (&mutex, &wait_time), parent_name); in do_test()
Dtst-thrd-sleep.c40 struct timespec wait_time = {.tv_sec = 3}; in do_test() local
42 if (thrd_create (&id, sleep_thrd, (void *) (&wait_time)) != thrd_success) in do_test()
/glibc-2.36/hurd/
Dhurdlock.c127 int wait_time = 25; in __lll_robust_lock() local
154 __lll_timed_wait (iptr, val, wait_time, flags); in __lll_robust_lock()
155 if (wait_time < MAX_WAIT_TIME) in __lll_robust_lock()
156 wait_time <<= 1; in __lll_robust_lock()
167 int wait_time = 25; in __lll_robust_abstimed_lock() local
198 else if (mlsec > wait_time) in __lll_robust_abstimed_lock()
199 mlsec = wait_time; in __lll_robust_abstimed_lock()
204 else if (wait_time < MAX_WAIT_TIME) in __lll_robust_abstimed_lock()
205 wait_time <<= 1; in __lll_robust_abstimed_lock()
/glibc-2.36/sunrpc/
Dkey_call.c400 struct timeval wait_time; in __libc_lock_define_initialized() local
476 wait_time.tv_sec = TOTAL_TIMEOUT/TOTAL_TRIES; in __libc_lock_define_initialized()
477 wait_time.tv_usec = 0; in __libc_lock_define_initialized()
479 (char *)&wait_time); in __libc_lock_define_initialized()
492 struct timeval wait_time; in key_call_socket() local
505 wait_time.tv_sec = TOTAL_TIMEOUT; in key_call_socket()
506 wait_time.tv_usec = 0; in key_call_socket()
509 wait_time) == RPC_SUCCESS) in key_call_socket()