Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantReadWriteLock.java272 static int exclusiveCount(int c) { return c & EXCLUSIVE_MASK; } in exclusiveCount() method in ReentrantReadWriteLock.Sync
375 boolean free = exclusiveCount(nextc) == 0; in tryRelease()
396 int w = exclusiveCount(c); in tryAcquire()
401 if (w + exclusiveCount(acquires) > MAX_COUNT) in tryAcquire()
468 if (exclusiveCount(c) != 0 && in tryAcquireShared()
507 if (exclusiveCount(c) != 0) { in fullTryAcquireShared()
561 int w = exclusiveCount(c); in tryWriteLock()
582 if (exclusiveCount(c) != 0 && in tryReadLock()
621 return ((exclusiveCount(getState()) == 0) ? in getOwner()
631 return exclusiveCount(getState()) != 0; in isWriteLocked()
[all …]