Searched refs:isHeldExclusively (Results 1 – 7 of 7) sorted by relevance
132 protected final boolean isHeldExclusively() { in isHeldExclusively() method in ReentrantLock.Sync149 return isHeldExclusively() ? getState() : 0; in getHoldCount()549 return sync.isHeldExclusively(); in isHeldByCurrentThread()
342 if (!isHeldExclusively()) in tryRelease()577 protected final boolean isHeldExclusively() { in isHeldExclusively() method in ReentrantReadWriteLock.Sync605 return isHeldExclusively() ? exclusiveCount(getState()) : 0; in getWriteHoldCount()1178 return sync.isHeldExclusively(); in isHeldByCurrentThread()1253 return sync.isHeldExclusively(); in isWriteLockedByCurrentThread()
1158 protected boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedSynchronizer1915 if (!isHeldExclusively()) in signal()1930 if (!isHeldExclusively()) in signalAll()2175 if (!isHeldExclusively()) in hasWaiters()2194 if (!isHeldExclusively()) in getWaitQueueLength()2214 if (!isHeldExclusively()) in getWaitingThreads()
928 protected boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedLongSynchronizer1687 if (!isHeldExclusively()) in signal()1702 if (!isHeldExclusively()) in signalAll()1947 if (!isHeldExclusively()) in hasWaiters()1966 if (!isHeldExclusively()) in getWaitQueueLength()1986 if (!isHeldExclusively()) in getWaitingThreads()
29 public boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedLongSynchronizerTest.Mutex252 assertFalse(sync.isHeldExclusively()); in testIsHeldExclusively()261 assertTrue(sync.isHeldExclusively()); in testAcquire()263 assertFalse(sync.isHeldExclusively()); in testAcquire()272 assertTrue(sync.isHeldExclusively()); in testTryAcquire()274 assertFalse(sync.isHeldExclusively()); in testTryAcquire()539 assertTrue(sync.isHeldExclusively()); in testGetState()541 assertFalse(sync.isHeldExclusively()); in testGetState()554 assertTrue(sync.isHeldExclusively()); in testGetState()557 assertFalse(sync.isHeldExclusively()); in testGetState()[all …]
32 @Override public boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedSynchronizerTest.Mutex255 assertFalse(sync.isHeldExclusively()); in testIsHeldExclusively()264 assertTrue(sync.isHeldExclusively()); in testAcquire()266 assertFalse(sync.isHeldExclusively()); in testAcquire()275 assertTrue(sync.isHeldExclusively()); in testTryAcquire()277 assertFalse(sync.isHeldExclusively()); in testTryAcquire()542 assertTrue(sync.isHeldExclusively()); in testGetState()544 assertFalse(sync.isHeldExclusively()); in testGetState()557 assertTrue(sync.isHeldExclusively()); in testGetState()560 assertFalse(sync.isHeldExclusively()); in testGetState()[all …]
595 protected boolean isHeldExclusively() { in isHeldExclusively() method in ThreadPoolExecutor.Worker616 public boolean isLocked() { return isHeldExclusively(); } in isLocked()