Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_rwlock.cpp151 #define STATE_READER_COUNT_CHANGE_STEP (1 << STATE_READER_COUNT_SHIFT) macro
191 return state >= STATE_READER_COUNT_CHANGE_STEP; in __state_owned_by_readers()
195 return state < 0 || state >= STATE_READER_COUNT_CHANGE_STEP; in __state_owned_by_readers_or_writer()
277 int new_state = old_state + STATE_READER_COUNT_CHANGE_STEP; in __pthread_rwlock_tryrdlock()
502 old_state = atomic_fetch_sub_explicit(&rwlock->state, STATE_READER_COUNT_CHANGE_STEP, in pthread_rwlock_unlock()