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
1791 public final boolean hasWaiters(ConditionObject condition) { in hasWaiters() method in AbstractQueuedSynchronizer1794 return condition.hasWaiters(); in hasWaiters()2231 protected final boolean hasWaiters() { in hasWaiters() method in AbstractQueuedSynchronizer.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));
202 assertEquals(threads.length > 0, sync.hasWaiters(c)); in assertHasWaitersLocked()709 sync.hasWaiters(null);744 sync2.hasWaiters(c);757 sync.hasWaiters(c);828 assertFalse(sync.hasWaiters(c));838 assertTrue(sync.hasWaiters(c));842 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()
112 public boolean hasWaiters(java.util.concurrent.locks.Condition condition) { in hasWaiters() method in ReentrantLock
641 for (; k > 0 && lock.hasWaiters(notFull); k--) in clear()699 for (; i > 0 && lock.hasWaiters(notFull); i--) in drainTo()