Searched defs:rel_timeout (Results 1 - 1 of 1) sorted by relevance

/bionic/libc/bionic/
H A Dpthread_rwlock.cpp72 static bool timespec_from_absolute(timespec* rel_timeout, const timespec* abs_timeout) { argument
74 if (__timespec_from_absolute(rel_timeout, abs_timeout, CLOCK_REALTIME) < 0) {
140 timespec* rel_timeout = (abs_timeout == NULL) ? NULL : &ts; local
151 if (!timespec_from_absolute(rel_timeout, abs_timeout)) {
158 int ret = __futex_wait_ex(&rwlock->state, rwlock_is_shared(rwlock), cur_state, rel_timeout);
176 timespec* rel_timeout = (abs_timeout == NULL) ? NULL : &ts; local
184 if (!timespec_from_absolute(rel_timeout, abs_timeout)) {
191 int ret = __futex_wait_ex(&rwlock->state, rwlock_is_shared(rwlock), cur_state, rel_timeout);

Completed in 66 milliseconds