Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_rwlock.cpp163 bool writer_nonrecursive_preferred; member
237 rwlock->writer_nonrecursive_preferred = false; in pthread_rwlock_init()
240 rwlock->writer_nonrecursive_preferred = true; in pthread_rwlock_init()
265 bool writer_nonrecursive_preferred) { in __can_acquire_read_lock() argument
269 (writer_nonrecursive_preferred && __state_have_pending_writers(old_state)); in __can_acquire_read_lock()
276 …while (__predict_true(__can_acquire_read_lock(old_state, rwlock->writer_nonrecursive_preferred))) { in __pthread_rwlock_tryrdlock()
307 if (__can_acquire_read_lock(old_state, rwlock->writer_nonrecursive_preferred)) { in __pthread_rwlock_timedrdlock()
325 if (!__can_acquire_read_lock(old_state, rwlock->writer_nonrecursive_preferred)) { in __pthread_rwlock_timedrdlock()