Home
last modified time | relevance | path

Searched refs:hasQueuedThreads (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DSemaphoreTest.java107 assertTrue(s.hasQueuedThreads()); in waitForQueuedThread()
116 while (!s.hasQueuedThreads()) { in waitForQueuedThreads()
348 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
352 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
355 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
358 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
361 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
498 assertFalse(s.hasQueuedThreads()); in testSerialization()
499 assertFalse(clone.hasQueuedThreads()); in testSerialization()
512 assertTrue(s.hasQueuedThreads()); in testSerialization()
[all …]
DReentrantLockTest.java271 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
273 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
276 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
279 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
282 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
285 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
1065 assertFalse(lock.hasQueuedThreads()); in testSignalWakesFifo()
DAbstractQueuedLongSynchronizerTest.java177 assertEquals(expected.length > 0, sync.hasQueuedThreads()); in assertHasQueuedThreads()
186 sync.hasQueuedThreads(); in assertHasQueuedThreads()
336 assertFalse(sync.hasQueuedThreads()); in testHasQueuedThreads()
340 assertTrue(sync.hasQueuedThreads()); in testHasQueuedThreads()
343 assertTrue(sync.hasQueuedThreads()); in testHasQueuedThreads()
346 assertTrue(sync.hasQueuedThreads()); in testHasQueuedThreads()
349 assertFalse(sync.hasQueuedThreads()); in testHasQueuedThreads()
DAbstractQueuedSynchronizerTest.java180 assertEquals(expected.length > 0, sync.hasQueuedThreads()); in assertHasQueuedThreads()
189 sync.hasQueuedThreads(); in assertHasQueuedThreads()
339 assertFalse(sync.hasQueuedThreads()); in testHasQueuedThreads()
343 assertTrue(sync.hasQueuedThreads()); in testHasQueuedThreads()
346 assertTrue(sync.hasQueuedThreads()); in testHasQueuedThreads()
349 assertTrue(sync.hasQueuedThreads()); in testHasQueuedThreads()
352 assertFalse(sync.hasQueuedThreads()); in testHasQueuedThreads()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java638 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in ReentrantLock
639 return sync.hasQueuedThreads(); in hasQueuedThreads()
DReentrantReadWriteLock.java1356 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in ReentrantReadWriteLock
1357 return sync.hasQueuedThreads(); in hasQueuedThreads()
DAbstractQueuedLongSynchronizer.java919 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in AbstractQueuedLongSynchronizer
1173 + (hasQueuedThreads() ? "non" : "") + "empty queue]"; in toString()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java96 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in ReentrantLock
/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantLockTest.java248 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
250 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
253 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
256 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
259 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
262 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
1042 assertFalse(lock.hasQueuedThreads()); in testSignalWakesFifo()
DAbstractQueuedSynchronizerTest.java157 assertEquals(expected.length > 0, sync.hasQueuedThreads()); in assertHasQueuedThreads()
311 assertFalse(sync.hasQueuedThreads()); in testHasQueuedThreads()
315 assertTrue(sync.hasQueuedThreads()); in testHasQueuedThreads()
318 assertTrue(sync.hasQueuedThreads()); in testHasQueuedThreads()
321 assertTrue(sync.hasQueuedThreads()); in testHasQueuedThreads()
324 assertFalse(sync.hasQueuedThreads()); in testHasQueuedThreads()
DReentrantReadWriteLockTest.java1173 assertFalse(lock.hasQueuedThreads()); in testSignalWakesFifo()
1270 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
1272 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
1275 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
1278 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
1281 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
1284 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadTest.java317 while (!sem.hasQueuedThreads()) {} in test_getState()