Searched refs:abstime (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/bionic/ |
D | pthread_cond.cpp | 166 int __pthread_cond_timedwait(pthread_cond_t* cond, pthread_mutex_t* mutex, const timespec* abstime,… in __pthread_cond_timedwait() argument 170 if (abstime != NULL) { in __pthread_cond_timedwait() 171 if (__timespec_from_absolute(&ts, abstime, clock) < 0) { in __pthread_cond_timedwait() 194 int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t * mutex, const timespec *abstime) { in pthread_cond_timedwait() argument 195 return __pthread_cond_timedwait(cond, mutex, abstime, COND_GET_CLOCK(cond->value)); in pthread_cond_timedwait() 200 …d_cond_timedwait_monotonic(pthread_cond_t* cond, pthread_mutex_t* mutex, const timespec* abstime) { in pthread_cond_timedwait_monotonic() argument 201 return __pthread_cond_timedwait(cond, mutex, abstime, CLOCK_MONOTONIC); in pthread_cond_timedwait_monotonic() 204 …ond_timedwait_monotonic_np(pthread_cond_t* cond, pthread_mutex_t* mutex, const timespec* abstime) { in pthread_cond_timedwait_monotonic_np() argument 205 return __pthread_cond_timedwait(cond, mutex, abstime, CLOCK_MONOTONIC); in pthread_cond_timedwait_monotonic_np()
|
D | pthread_internals.cpp | 73 int __timespec_from_absolute(timespec* ts, const timespec* abstime, clockid_t clock) { in __timespec_from_absolute() argument 75 ts->tv_sec = abstime->tv_sec - ts->tv_sec; in __timespec_from_absolute() 76 ts->tv_nsec = abstime->tv_nsec - ts->tv_nsec; in __timespec_from_absolute()
|