Searched refs:exclusiveCount (Results 1 – 1 of 1) sorted by relevance
272 static int exclusiveCount(int c) { return c & EXCLUSIVE_MASK; } in exclusiveCount() method in ReentrantReadWriteLock.Sync375 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 …]