Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
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 …]
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/luni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java622 return sync.isQueued(thread); in hasQueuedThread()
DReentrantReadWriteLock.java1343 return sync.isQueued(thread); in hasQueuedThread()
DAbstractQueuedLongSynchronizer.java970 public final boolean isQueued(Thread thread) { in isQueued() method in AbstractQueuedLongSynchronizer
DAbstractQueuedSynchronizer.java1441 public final boolean isQueued(Thread thread) { in isQueued() method in AbstractQueuedSynchronizer