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.java90 while (!lock.hasQueuedThread(t)) { in waitForQueuedThread()
296 lock.hasQueuedThread(null); in testHasQueuedThreadNPE()
310 assertFalse(lock.hasQueuedThread(t1)); in testHasQueuedThread()
311 assertFalse(lock.hasQueuedThread(t2)); in testHasQueuedThread()
315 assertTrue(lock.hasQueuedThread(t1)); in testHasQueuedThread()
316 assertFalse(lock.hasQueuedThread(t2)); in testHasQueuedThread()
319 assertTrue(lock.hasQueuedThread(t1)); in testHasQueuedThread()
320 assertTrue(lock.hasQueuedThread(t2)); in testHasQueuedThread()
323 assertFalse(lock.hasQueuedThread(t1)); in testHasQueuedThread()
324 assertTrue(lock.hasQueuedThread(t2)); in testHasQueuedThread()
[all …]
DReentrantReadWriteLockTest.java93 while (!lock.hasQueuedThread(t)) { in waitForQueuedThread()
1174 assertTrue(lock.hasQueuedThread(t1)); in testSignalWakesFifo()
1175 assertFalse(lock.hasQueuedThread(t2)); in testSignalWakesFifo()
1178 assertTrue(lock.hasQueuedThread(t1)); in testSignalWakesFifo()
1179 assertTrue(lock.hasQueuedThread(t2)); in testSignalWakesFifo()
1293 lock.hasQueuedThread(null); in testHasQueuedThreadNPE()
1308 assertFalse(lock.hasQueuedThread(t1)); in testHasQueuedThread()
1309 assertFalse(lock.hasQueuedThread(t2)); in testHasQueuedThread()
1313 assertTrue(lock.hasQueuedThread(t1)); in testHasQueuedThread()
1314 assertFalse(lock.hasQueuedThread(t2)); in testHasQueuedThread()
[all …]
DSemaphoreTest.java40 public boolean hasQueuedThread(Thread t) { in hasQueuedThread() method in SemaphoreTest.PublicSemaphore
78 while (!s.hasQueuedThread(t)) { in waitForQueuedThread()
/libcore/luni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java616 public final boolean hasQueuedThread(Thread thread) { in hasQueuedThread() method in ReentrantLock
DReentrantReadWriteLock.java1337 public final boolean hasQueuedThread(Thread thread) { in hasQueuedThread() method in ReentrantReadWriteLock