Searched refs:hasQueuedThread (Results 1 – 5 of 5) sorted by relevance
76 while (!lock.hasQueuedThread(t)) { in waitForQueuedThread()280 lock.hasQueuedThread(null); in testHasQueuedThreadNPE()294 assertFalse(lock.hasQueuedThread(t1)); in testHasQueuedThread()295 assertFalse(lock.hasQueuedThread(t2)); in testHasQueuedThread()299 assertTrue(lock.hasQueuedThread(t1)); in testHasQueuedThread()300 assertFalse(lock.hasQueuedThread(t2)); in testHasQueuedThread()303 assertTrue(lock.hasQueuedThread(t1)); in testHasQueuedThread()304 assertTrue(lock.hasQueuedThread(t2)); in testHasQueuedThread()307 assertFalse(lock.hasQueuedThread(t1)); in testHasQueuedThread()308 assertTrue(lock.hasQueuedThread(t2)); in testHasQueuedThread()[all …]
78 while (!lock.hasQueuedThread(t)) { in waitForQueuedThread()1165 assertTrue(lock.hasQueuedThread(t1)); in testSignalWakesFifo()1166 assertFalse(lock.hasQueuedThread(t2)); in testSignalWakesFifo()1169 assertTrue(lock.hasQueuedThread(t1)); in testSignalWakesFifo()1170 assertTrue(lock.hasQueuedThread(t2)); in testSignalWakesFifo()1284 lock.hasQueuedThread(null); in testHasQueuedThreadNPE()1299 assertFalse(lock.hasQueuedThread(t1)); in testHasQueuedThread()1300 assertFalse(lock.hasQueuedThread(t2)); in testHasQueuedThread()1304 assertTrue(lock.hasQueuedThread(t1)); in testHasQueuedThread()1305 assertFalse(lock.hasQueuedThread(t2)); in testHasQueuedThread()[all …]
28 public boolean hasQueuedThread(Thread t) { in hasQueuedThread() method in SemaphoreTest.PublicSemaphore66 while (!s.hasQueuedThread(t)) { in waitForQueuedThread()
615 public final boolean hasQueuedThread(Thread thread) { in hasQueuedThread() method in ReentrantLock
1336 public final boolean hasQueuedThread(Thread thread) { in hasQueuedThread() method in ReentrantReadWriteLock