Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dsemaphore.c267 int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout) in sem_timedwait() argument
287 if (abs_timeout == NULL || in sem_timedwait()
288 abs_timeout->tv_sec < 0 || in sem_timedwait()
289 abs_timeout->tv_nsec < 0 || in sem_timedwait()
290 abs_timeout->tv_nsec >= 1000000000) in sem_timedwait()
304 ts.tv_sec = abs_timeout->tv_sec - ts.tv_sec; in sem_timedwait()
305 ts.tv_nsec = abs_timeout->tv_nsec - ts.tv_nsec; in sem_timedwait()
Dpthread-rwlocks.c232 int pthread_rwlock_timedrdlock(pthread_rwlock_t *rwlock, const struct timespec *abs_timeout) in pthread_rwlock_timedrdlock() argument
244 ret = pthread_cond_timedwait(&rwlock->cond, &rwlock->lock, abs_timeout); in pthread_rwlock_timedrdlock()
281 int pthread_rwlock_timedwrlock(pthread_rwlock_t *rwlock, const struct timespec *abs_timeout) in pthread_rwlock_timedwrlock() argument
297 ret = pthread_cond_timedwait(&rwlock->cond, &rwlock->lock, abs_timeout); in pthread_rwlock_timedwrlock()
/bionic/libc/include/
Dsemaphore.h54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
Dpthread.h252 int pthread_rwlock_timedrdlock(pthread_rwlock_t *rwlock, const struct timespec *abs_timeout);
256 int pthread_rwlock_timedwrlock(pthread_rwlock_t *rwlock, const struct timespec *abs_timeout);