Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantLockTest.java91 while (!lock.hasQueuedThread(t)) { in waitForQueuedThread()
298 lock.hasQueuedThread(null); in testHasQueuedThreadNPE()
312 assertFalse(lock.hasQueuedThread(t1)); in testHasQueuedThread()
313 assertFalse(lock.hasQueuedThread(t2)); in testHasQueuedThread()
317 assertTrue(lock.hasQueuedThread(t1)); in testHasQueuedThread()
318 assertFalse(lock.hasQueuedThread(t2)); in testHasQueuedThread()
321 assertTrue(lock.hasQueuedThread(t1)); in testHasQueuedThread()
322 assertTrue(lock.hasQueuedThread(t2)); in testHasQueuedThread()
325 assertFalse(lock.hasQueuedThread(t1)); in testHasQueuedThread()
326 assertTrue(lock.hasQueuedThread(t2)); in testHasQueuedThread()
[all …]
DReentrantReadWriteLockTest.java93 while (!lock.hasQueuedThread(t)) { in waitForQueuedThread()
1176 assertTrue(lock.hasQueuedThread(t1)); in testSignalWakesFifo()
1177 assertFalse(lock.hasQueuedThread(t2)); in testSignalWakesFifo()
1180 assertTrue(lock.hasQueuedThread(t1)); in testSignalWakesFifo()
1181 assertTrue(lock.hasQueuedThread(t2)); in testSignalWakesFifo()
1295 lock.hasQueuedThread(null); in testHasQueuedThreadNPE()
1310 assertFalse(lock.hasQueuedThread(t1)); in testHasQueuedThread()
1311 assertFalse(lock.hasQueuedThread(t2)); in testHasQueuedThread()
1315 assertTrue(lock.hasQueuedThread(t1)); in testHasQueuedThread()
1316 assertFalse(lock.hasQueuedThread(t2)); in testHasQueuedThread()
[all …]
DSemaphoreTest.java41 public boolean hasQueuedThread(Thread t) { in hasQueuedThread() method in SemaphoreTest.PublicSemaphore
79 while (!s.hasQueuedThread(t)) { in waitForQueuedThread()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java100 public final boolean hasQueuedThread(java.lang.Thread thread) { in hasQueuedThread() method in ReentrantLock
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java653 public final boolean hasQueuedThread(Thread thread) { in hasQueuedThread() method in ReentrantLock
DReentrantReadWriteLock.java1371 public final boolean hasQueuedThread(Thread thread) { in hasQueuedThread() method in ReentrantReadWriteLock