Home
last modified time | relevance | path

Searched refs:hasQueuedThread (Results 1 – 5 of 5) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantLockTest.java76 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 …]
DReentrantReadWriteLockTest.java78 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 …]
DSemaphoreTest.java28 public boolean hasQueuedThread(Thread t) { in hasQueuedThread() method in SemaphoreTest.PublicSemaphore
66 while (!s.hasQueuedThread(t)) { in waitForQueuedThread()
/libcore/luni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java615 public final boolean hasQueuedThread(Thread thread) { in hasQueuedThread() method in ReentrantLock
DReentrantReadWriteLock.java1336 public final boolean hasQueuedThread(Thread thread) { in hasQueuedThread() method in ReentrantReadWriteLock