Home
last modified time | relevance | path

Searched refs:abstime (Results 1 – 16 of 16) sorted by relevance

/sysdeps/mach/htl/
A Dpt-timedblock.c36 const struct timespec *abstime, clockid_t clock_id) in __pthread_timedblock() argument
49 if (now.tv_sec > abstime->tv_sec in __pthread_timedblock()
50 || (now.tv_sec == abstime->tv_sec && now.tv_nsec > abstime->tv_nsec)) in __pthread_timedblock()
53 timeout = (abstime->tv_sec - now.tv_sec) * 1000; in __pthread_timedblock()
55 if (abstime->tv_nsec >= now.tv_nsec) in __pthread_timedblock()
56 timeout += (abstime->tv_nsec - now.tv_nsec + 999999) / 1000000; in __pthread_timedblock()
59 timeout -= (now.tv_nsec - abstime->tv_nsec + 999999) / 1000000; in __pthread_timedblock()
/sysdeps/htl/
A Dpt-rwlock-timedwrlock.c31 const struct timespec *abstime) in __pthread_rwlock_timedwrlock_internal() argument
51 if (abstime != NULL && ! valid_nanoseconds (abstime->tv_nsec)) in __pthread_rwlock_timedwrlock_internal()
64 if (abstime != NULL) in __pthread_rwlock_timedwrlock_internal()
65 err = __pthread_timedblock (self, abstime, clockid); in __pthread_rwlock_timedwrlock_internal()
104 const struct timespec *abstime) in __pthread_rwlock_timedwrlock() argument
106 return __pthread_rwlock_timedwrlock_internal (rwlock, CLOCK_REALTIME, abstime); in __pthread_rwlock_timedwrlock()
113 const struct timespec *abstime) in weak_alias()
115 return __pthread_rwlock_timedwrlock_internal (rwlock, clockid, abstime); in weak_alias()
A Dpt-rwlock-timedrdlock.c31 const struct timespec *abstime) in __pthread_rwlock_timedrdlock_internal() argument
65 if (abstime != NULL && ! valid_nanoseconds (abstime->tv_nsec)) in __pthread_rwlock_timedrdlock_internal()
78 if (abstime != NULL) in __pthread_rwlock_timedrdlock_internal()
79 err = __pthread_timedblock (self, abstime, clockid); in __pthread_rwlock_timedrdlock_internal()
121 const struct timespec *abstime) in __pthread_rwlock_timedrdlock() argument
123 return __pthread_rwlock_timedrdlock_internal (rwlock, CLOCK_REALTIME, abstime); in __pthread_rwlock_timedrdlock()
130 const struct timespec *abstime) in weak_alias()
132 return __pthread_rwlock_timedrdlock_internal (rwlock, clockid, abstime); in weak_alias()
A Dpt-cond-timedwait.c28 const struct timespec *abstime);
33 const struct timespec *abstime) in __pthread_cond_timedwait() argument
35 return __pthread_cond_timedwait_internal (cond, mutex, -1, abstime); in __pthread_cond_timedwait()
44 const struct timespec *abstime) in __pthread_cond_clockwait() argument
46 return __pthread_cond_timedwait_internal (cond, mutex, clockid, abstime); in __pthread_cond_clockwait()
85 const struct timespec *abstime) in __pthread_cond_timedwait_internal() argument
96 if (abstime && ! valid_nanoseconds (abstime->tv_nsec)) in __pthread_cond_timedwait_internal()
153 if (abstime != NULL) in __pthread_cond_timedwait_internal()
154 err = __pthread_timedblock (self, abstime, clock_id); in __pthread_cond_timedwait_internal()
A Dpt-rwlock-rdlock.c27 *abstime);
A Dpt-rwlock-wrlock.c29 *abstime);
A Dpt-cond-wait.c27 const struct timespec *abstime);
A DpthreadP.h51 const struct timespec *abstime);
55 const struct timespec *abstime)
/sysdeps/mach/hurd/htl/
A Dpt-hurd-cond-timedwait.c29 *abstime);
34 const struct timespec *abstime) in __pthread_hurd_cond_timedwait_np() argument
36 return __pthread_hurd_cond_timedwait_internal (cond, mutex, abstime); in __pthread_hurd_cond_timedwait_np()
44 const struct timespec *abstime) in __pthread_hurd_cond_timedwait_internal() argument
73 if (abstime != NULL && ! valid_nanoseconds (abstime->tv_nsec)) in __pthread_hurd_cond_timedwait_internal()
119 if (abstime != NULL) in __pthread_hurd_cond_timedwait_internal()
120 err = __pthread_timedblock (self, abstime, clock_id); in __pthread_hurd_cond_timedwait_internal()
A Dpt-hurd-cond-wait.c29 *abstime);
/sysdeps/pthread/
A Dtst-robust10.c30 struct timespec abstime; in thr() local
31 clock_gettime (CLOCK_REALTIME, &abstime); in thr()
32 abstime.tv_sec += 1; in thr()
33 int ret = pthread_mutex_timedlock (&mutex, &abstime); in thr()
A Dposix-timer.h52 unsigned int abstime; member
A DMakefile56 tst-abstime \
131 tst-abstime-time64 \
/sysdeps/nptl/
A Dfutex-internal.h254 const struct __timespec64 *abstime, int private);
304 const struct __timespec64* abstime,
311 const struct __timespec64* abstime,
318 const struct __timespec64 *abstime, int private) in __futex_clocklock64() argument
326 abstime, private); in __futex_clocklock64()
A DpthreadP.h440 const struct __timespec64 *abstime);
443 const struct __timespec64 *abstime);
447 const struct __timespec64 *abstime);
452 const struct __timespec64 *abstime);
470 const struct __timespec64 *abstime);
473 const struct __timespec64 *abstime);
479 const struct timespec *abstime);
484 const struct timespec *abstime)
490 const struct timespec *abstime);
493 const struct timespec *abstime);
[all …]
A Dlowlevellock.h265 # define lll_clocklock_elision(futex, adapt_count, clockid, abstime, private) \
266 __futex_clocklock64 (&(futex), clockid, abstime, private)

Completed in 14 milliseconds