Searched refs:isHeldExclusively (Results 1 – 9 of 9) sorted by relevance
166 protected final boolean isHeldExclusively() { in isHeldExclusively() method in ReentrantLock.Sync183 return isHeldExclusively() ? getState() : 0; in getHoldCount()587 return sync.isHeldExclusively(); in isHeldByCurrentThread()
372 if (!isHeldExclusively()) in tryRelease()607 protected final boolean isHeldExclusively() { in isHeldExclusively() method in ReentrantReadWriteLock.Sync635 return isHeldExclusively() ? exclusiveCount(getState()) : 0; in getWriteHoldCount()1213 return sync.isHeldExclusively(); in isHeldByCurrentThread()1288 return sync.isHeldExclusively(); in isWriteLockedByCurrentThread()
739 protected boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedLongSynchronizer1494 if (!isHeldExclusively()) in signal()1509 if (!isHeldExclusively()) in signalAll()1760 if (!isHeldExclusively()) in hasWaiters()1779 if (!isHeldExclusively()) in getWaitQueueLength()1799 if (!isHeldExclusively()) in getWaitingThreads()
1207 protected boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedSynchronizer1966 if (!isHeldExclusively()) in signal()1981 if (!isHeldExclusively()) in signalAll()2232 if (!isHeldExclusively()) in hasWaiters()2251 if (!isHeldExclusively()) in getWaitQueueLength()2271 if (!isHeldExclusively()) in getWaitingThreads()
48 @Override public boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedSynchronizerTest.Mutex281 assertFalse(sync.isHeldExclusively()); in testIsHeldExclusively()290 assertTrue(sync.isHeldExclusively()); in testAcquire()292 assertFalse(sync.isHeldExclusively()); in testAcquire()301 assertTrue(sync.isHeldExclusively()); in testTryAcquire()303 assertFalse(sync.isHeldExclusively()); in testTryAcquire()568 assertTrue(sync.isHeldExclusively()); in testGetState()570 assertFalse(sync.isHeldExclusively()); in testGetState()583 assertTrue(sync.isHeldExclusively()); in testGetState()586 assertFalse(sync.isHeldExclusively()); in testGetState()[all …]
45 public boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedLongSynchronizerTest.Mutex278 assertFalse(sync.isHeldExclusively()); in testIsHeldExclusively()287 assertTrue(sync.isHeldExclusively()); in testAcquire()289 assertFalse(sync.isHeldExclusively()); in testAcquire()298 assertTrue(sync.isHeldExclusively()); in testTryAcquire()300 assertFalse(sync.isHeldExclusively()); in testTryAcquire()565 assertTrue(sync.isHeldExclusively()); in testGetState()567 assertFalse(sync.isHeldExclusively()); in testGetState()580 assertTrue(sync.isHeldExclusively()); in testGetState()583 assertFalse(sync.isHeldExclusively()); in testGetState()[all …]
191 protected final boolean isHeldExclusively() { in isHeldExclusively() method in ReentrantLock.Sync
649 protected boolean isHeldExclusively() { in isHeldExclusively() method in ThreadPoolExecutor.Worker670 public boolean isLocked() { return isHeldExclusively(); } in isLocked()
464 protected boolean isHeldExclusively() { in isHeldExclusively() method in ThreadPoolExecutor.Worker