Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_rwlock.cpp162 bool writer_nonrecursive_preferred; member
236 rwlock->writer_nonrecursive_preferred = false; in pthread_rwlock_init()
239 rwlock->writer_nonrecursive_preferred = true; in pthread_rwlock_init()
264 bool writer_nonrecursive_preferred) { in __can_acquire_read_lock() argument
268 (writer_nonrecursive_preferred && __state_have_pending_writers(old_state)); in __can_acquire_read_lock()
275 …while (__predict_true(__can_acquire_read_lock(old_state, rwlock->writer_nonrecursive_preferred))) { in __pthread_rwlock_tryrdlock()
306 if (__can_acquire_read_lock(old_state, rwlock->writer_nonrecursive_preferred)) { in __pthread_rwlock_timedrdlock()
324 if (!__can_acquire_read_lock(old_state, rwlock->writer_nonrecursive_preferred)) { in __pthread_rwlock_timedrdlock()