Searched refs:hasWaiters (Results 1 – 10 of 10) sorted by relevance
700 public boolean hasWaiters(Condition condition) { in hasWaiters() method in ReentrantLock705 return sync.hasWaiters((AbstractQueuedSynchronizer.ConditionObject)condition); in hasWaiters()
1419 public boolean hasWaiters(Condition condition) { in hasWaiters() method in ReentrantReadWriteLock1424 return sync.hasWaiters((AbstractQueuedSynchronizer.ConditionObject)condition); in hasWaiters()
1317 public final boolean hasWaiters(ConditionObject condition) { in hasWaiters() method in AbstractQueuedLongSynchronizer1320 return condition.hasWaiters(); in hasWaiters()1759 protected final boolean hasWaiters() { in hasWaiters() method in AbstractQueuedLongSynchronizer.ConditionObject
142 assertEquals(threads.length > 0, lock.hasWaiters(c)); in assertHasWaiters()617 lock.hasWaiters(null); in testHasWaitersNPE()658 lock2.hasWaiters(c); in testHasWaitersIAE()672 lock.hasWaiters(c); in testHasWaitersIMSE()748 assertFalse(lock.hasWaiters(c)); in testHasWaiters()752 assertFalse(lock.hasWaiters(c)); in testHasWaiters()759 assertTrue(lock.hasWaiters(c)); in testHasWaiters()762 assertFalse(lock.hasWaiters(c)); in testHasWaiters()781 assertFalse(lock.hasWaiters(c)); in testGetWaitQueueLength()791 assertTrue(lock.hasWaiters(c)); in testGetWaitQueueLength()
205 assertEquals(threads.length > 0, sync.hasWaiters(c)); in assertHasWaitersLocked()712 sync.hasWaiters(null);747 sync2.hasWaiters(c);760 sync.hasWaiters(c);831 assertFalse(sync.hasWaiters(c));841 assertTrue(sync.hasWaiters(c));845 assertFalse(sync.hasWaiters(c));
151 assertEquals(threads.length > 0, lock.hasWaiters(c)); in assertHasWaiters()1397 lock.hasWaiters(null); in testHasWaitersNPE()1438 lock2.hasWaiters(c); in testHasWaitersIAE()1452 lock.hasWaiters(c); in testHasWaitersIMSE()1532 assertFalse(lock.hasWaiters(c)); in testHasWaiters()1536 assertFalse(lock.hasWaiters(c)); in testHasWaiters()1543 assertTrue(lock.hasWaiters(c)); in testHasWaiters()1546 assertFalse(lock.hasWaiters(c)); in testHasWaiters()1621 assertTrue(lock.hasWaiters(c)); in testGetWaitingThreads()
165 assertEquals(threads.length > 0, lock.hasWaiters(c)); in assertHasWaiters()640 lock.hasWaiters(null); in testHasWaitersNPE()681 lock2.hasWaiters(c); in testHasWaitersIAE()695 lock.hasWaiters(c); in testHasWaitersIMSE()771 assertFalse(lock.hasWaiters(c)); in testHasWaiters()775 assertFalse(lock.hasWaiters(c)); in testHasWaiters()782 assertTrue(lock.hasWaiters(c)); in testHasWaiters()785 assertFalse(lock.hasWaiters(c)); in testHasWaiters()804 assertFalse(lock.hasWaiters(c)); in testGetWaitQueueLength()814 assertTrue(lock.hasWaiters(c)); in testGetWaitQueueLength()
230 assertEquals(threads.length > 0, sync.hasWaiters(c)); in assertHasWaitersLocked()737 sync.hasWaiters(null);772 sync2.hasWaiters(c);785 sync.hasWaiters(c);856 assertFalse(sync.hasWaiters(c));866 assertTrue(sync.hasWaiters(c));870 assertFalse(sync.hasWaiters(c));
233 assertEquals(threads.length > 0, sync.hasWaiters(c)); in assertHasWaitersLocked()740 sync.hasWaiters(null);775 sync2.hasWaiters(c);788 sync.hasWaiters(c);859 assertFalse(sync.hasWaiters(c));869 assertTrue(sync.hasWaiters(c));873 assertFalse(sync.hasWaiters(c));
112 public boolean hasWaiters(java.util.concurrent.locks.Condition condition) { in hasWaiters() method in ReentrantLock