Home
last modified time | relevance | path

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

/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 …]
DAbstractQueuedLongSynchronizerTest.java140 while (!sync.isQueued(t)) { in waitForQueuedThread()
330 sync.isQueued(null); in testIsQueuedNPE()
342 assertFalse(sync.isQueued(t1)); in testIsQueued()
343 assertFalse(sync.isQueued(t2)); in testIsQueued()
347 assertTrue(sync.isQueued(t1)); in testIsQueued()
348 assertFalse(sync.isQueued(t2)); in testIsQueued()
351 assertTrue(sync.isQueued(t1)); in testIsQueued()
352 assertTrue(sync.isQueued(t2)); in testIsQueued()
355 assertFalse(sync.isQueued(t1)); in testIsQueued()
356 assertTrue(sync.isQueued(t2)); in testIsQueued()
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
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 …]
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 …]
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java682 return sync.isQueued(thread); in hasQueuedThread()
DReentrantReadWriteLock.java1381 return sync.isQueued(thread); in hasQueuedThread()
DAbstractQueuedSynchronizer.java1165 public final boolean isQueued(Thread thread) { in isQueued() method in AbstractQueuedSynchronizer
DAbstractQueuedLongSynchronizer.java799 public final boolean isQueued(Thread thread) { in isQueued() method in AbstractQueuedLongSynchronizer
/libcore/api/
Dcurrent.txt16856 method public final boolean isQueued(Thread);
16903 method public final boolean isQueued(Thread);