Searched refs:getFirstQueuedThread (Results 1 – 4 of 4) sorted by relevance
185 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()
188 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()
371 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()
947 public final Thread getFirstQueuedThread() { in getFirstQueuedThread() method in AbstractQueuedLongSynchronizer