Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread-rwlocks.c143 rwlock->numLocks = 0; in pthread_rwlock_init()
158 if (rwlock->numLocks > 0) in pthread_rwlock_destroy()
188 if (rwlock->numLocks == 0) in write_precondition()
226 rwlock->numLocks ++; in pthread_rwlock_tryrdlock()
250 rwlock->numLocks ++; in pthread_rwlock_timedrdlock()
274 rwlock->numLocks ++; in pthread_rwlock_trywrlock()
303 rwlock->numLocks ++; in pthread_rwlock_timedwrlock()
321 if (rwlock->numLocks == 0) { in pthread_rwlock_unlock()
328 if (--rwlock->numLocks == 0) in pthread_rwlock_unlock()
339 if (--rwlock->numLocks == 0) { in pthread_rwlock_unlock()
/bionic/libc/include/
Dpthread.h229 int numLocks; member