Home
last modified time | relevance | path

Searched refs:rel_timeout (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/bionic/
Dpthread_cond.cpp190 timespec* rel_timeout = NULL; in __pthread_cond_timedwait() local
193 rel_timeout = &ts; in __pthread_cond_timedwait()
194 if (!timespec_from_absolute_timespec(*rel_timeout, *abs_timeout_or_null, clock)) { in __pthread_cond_timedwait()
199 return __pthread_cond_timedwait_relative(cond, mutex, rel_timeout); in __pthread_cond_timedwait()
240 const timespec* rel_timeout) { in pthread_cond_timedwait_relative_np() argument
242 return __pthread_cond_timedwait_relative(__get_internal_cond(cond_interface), mutex, rel_timeout); in pthread_cond_timedwait_relative_np()
Dpthread_mutex.cpp321 timespec* rel_timeout = NULL; in __pthread_normal_mutex_lock() local
323 rel_timeout = &ts; in __pthread_normal_mutex_lock()
324 if (!timespec_from_absolute_timespec(*rel_timeout, *abs_timeout_or_null, clock)) { in __pthread_normal_mutex_lock()
328 if (__futex_wait_ex(&mutex->state, shared, locked_contended, rel_timeout) == -ETIMEDOUT) { in __pthread_normal_mutex_lock()
399 const timespec* rel_timeout) { in __recursive_or_errorcheck_mutex_wait() argument
406 return __futex_wait_ex(&mutex->state, shared, old_state, rel_timeout); in __recursive_or_errorcheck_mutex_wait()
415 return __futex_wait_ex(&mutex->state, shared, (owner_tid << 16) | old_state, rel_timeout); in __recursive_or_errorcheck_mutex_wait()
489 timespec* rel_timeout = NULL; in __pthread_mutex_lock_with_timeout() local
491 rel_timeout = &ts; in __pthread_mutex_lock_with_timeout()
492 if (!timespec_from_absolute_timespec(*rel_timeout, *abs_timeout_or_null, clock)) { in __pthread_mutex_lock_with_timeout()
[all …]
Dpthread_rwlock.cpp308 timespec* rel_timeout = NULL; in __pthread_rwlock_timedrdlock() local
311 rel_timeout = &ts; in __pthread_rwlock_timedrdlock()
312 if (!timespec_from_absolute_timespec(*rel_timeout, *abs_timeout_or_null, CLOCK_REALTIME)) { in __pthread_rwlock_timedrdlock()
333 old_serial, rel_timeout); in __pthread_rwlock_timedrdlock()
386 timespec* rel_timeout = NULL; in __pthread_rwlock_timedwrlock() local
389 rel_timeout = &ts; in __pthread_rwlock_timedwrlock()
390 if (!timespec_from_absolute_timespec(*rel_timeout, *abs_timeout_or_null, CLOCK_REALTIME)) { in __pthread_rwlock_timedwrlock()
407 old_serial, rel_timeout); in __pthread_rwlock_timedwrlock()