Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_rwlock.cpp120 rwlock->pending_readers = 0; in pthread_rwlock_init()
157 …__sync_fetch_and_add(&rwlock->pending_readers, 1); // C++11 memory_order_relaxed (if the futex_wa… in __pthread_rwlock_timedrdlock()
159 __sync_fetch_and_sub(&rwlock->pending_readers, 1); // C++11 memory_order_relaxed in __pthread_rwlock_timedrdlock()
262 if (__predict_false(rwlock->pending_readers > 0 || rwlock->pending_writers > 0)) { in pthread_rwlock_unlock()
272 if (__predict_false(rwlock->pending_readers > 0 || rwlock->pending_writers > 0)) { in pthread_rwlock_unlock()
/bionic/libc/include/
Dpthread.h103 volatile int32_t pending_readers; member