Home
last modified time | relevance | path

Searched refs:getFirstQueuedThread (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DAbstractQueuedLongSynchronizerTest.java185 sync.getFirstQueuedThread() != Thread.currentThread() && in assertHasQueuedThreads()
396 assertNull(sync.getFirstQueuedThread()); in testGetFirstQueuedThread()
400 assertEquals(t1, sync.getFirstQueuedThread()); in testGetFirstQueuedThread()
403 assertEquals(t1, sync.getFirstQueuedThread()); in testGetFirstQueuedThread()
406 assertEquals(t2, sync.getFirstQueuedThread()); in testGetFirstQueuedThread()
409 assertNull(sync.getFirstQueuedThread()); in testGetFirstQueuedThread()
DAbstractQueuedSynchronizerTest.java188 sync.getFirstQueuedThread() != Thread.currentThread() && in assertHasQueuedThreads()
399 assertNull(sync.getFirstQueuedThread()); in testGetFirstQueuedThread()
403 assertEquals(t1, sync.getFirstQueuedThread()); in testGetFirstQueuedThread()
406 assertEquals(t1, sync.getFirstQueuedThread()); in testGetFirstQueuedThread()
409 assertEquals(t2, sync.getFirstQueuedThread()); in testGetFirstQueuedThread()
412 assertNull(sync.getFirstQueuedThread()); in testGetFirstQueuedThread()
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedSynchronizerTest.java371 assertNull(sync.getFirstQueuedThread()); in testGetFirstQueuedThread()
375 assertEquals(t1, sync.getFirstQueuedThread()); in testGetFirstQueuedThread()
378 assertEquals(t1, sync.getFirstQueuedThread()); in testGetFirstQueuedThread()
381 assertEquals(t2, sync.getFirstQueuedThread()); in testGetFirstQueuedThread()
384 assertNull(sync.getFirstQueuedThread()); in testGetFirstQueuedThread()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DAbstractQueuedLongSynchronizer.java947 public final Thread getFirstQueuedThread() { in getFirstQueuedThread() method in AbstractQueuedLongSynchronizer