Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/concurrent/tck/
DAbstractQueuedLongSynchronizerTest.java163 while (!sync.isQueued(t)) { in waitForQueuedThread()
358 sync.isQueued(null); in testIsQueuedNPE()
370 assertFalse(sync.isQueued(t1)); in testIsQueued()
371 assertFalse(sync.isQueued(t2)); in testIsQueued()
375 assertTrue(sync.isQueued(t1)); in testIsQueued()
376 assertFalse(sync.isQueued(t2)); in testIsQueued()
379 assertTrue(sync.isQueued(t1)); in testIsQueued()
380 assertTrue(sync.isQueued(t2)); in testIsQueued()
383 assertFalse(sync.isQueued(t1)); in testIsQueued()
384 assertTrue(sync.isQueued(t2)); in testIsQueued()
[all …]
DAbstractQueuedSynchronizerTest.java166 while (!sync.isQueued(t)) { in waitForQueuedThread()
361 sync.isQueued(null); in testIsQueuedNPE()
373 assertFalse(sync.isQueued(t1)); in testIsQueued()
374 assertFalse(sync.isQueued(t2)); in testIsQueued()
378 assertTrue(sync.isQueued(t1)); in testIsQueued()
379 assertFalse(sync.isQueued(t2)); in testIsQueued()
382 assertTrue(sync.isQueued(t1)); in testIsQueued()
383 assertTrue(sync.isQueued(t2)); in testIsQueued()
386 assertFalse(sync.isQueued(t1)); in testIsQueued()
387 assertTrue(sync.isQueued(t2)); in testIsQueued()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedSynchronizerTest.java143 while (!sync.isQueued(t)) { in waitForQueuedThread()
333 sync.isQueued(null); in testIsQueuedNPE()
345 assertFalse(sync.isQueued(t1)); in testIsQueued()
346 assertFalse(sync.isQueued(t2)); in testIsQueued()
350 assertTrue(sync.isQueued(t1)); in testIsQueued()
351 assertFalse(sync.isQueued(t2)); in testIsQueued()
354 assertTrue(sync.isQueued(t1)); in testIsQueued()
355 assertTrue(sync.isQueued(t2)); in testIsQueued()
358 assertFalse(sync.isQueued(t1)); in testIsQueued()
359 assertTrue(sync.isQueued(t2)); in testIsQueued()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java654 return sync.isQueued(thread); in hasQueuedThread()
DReentrantReadWriteLock.java1372 return sync.isQueued(thread); in hasQueuedThread()
DAbstractQueuedLongSynchronizer.java999 public final boolean isQueued(Thread thread) { in isQueued() method in AbstractQueuedLongSynchronizer