Home
last modified time | relevance | path

Searched refs:hasQueuedThreads (Results 1 – 18 of 18) 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()
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()
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()
DReentrantReadWriteLockTest.java1193 assertFalse(lock.hasQueuedThreads()); in testSignalWakesFifo()
1290 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
1292 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
1295 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
1298 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
1301 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
1304 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
/libcore/jsr166-tests/src/test/java/jsr166/
DSemaphoreTest.java84 assertTrue(s.hasQueuedThreads()); in waitForQueuedThread()
93 while (!s.hasQueuedThreads()) { in waitForQueuedThreads()
325 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
329 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
332 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
335 assertTrue(lock.hasQueuedThreads()); in testHasQueuedThreads()
338 assertFalse(lock.hasQueuedThreads()); in testHasQueuedThreads()
475 assertFalse(s.hasQueuedThreads()); in testSerialization()
476 assertFalse(clone.hasQueuedThreads()); in testSerialization()
489 assertTrue(s.hasQueuedThreads()); in testSerialization()
[all …]
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()
DAbstractQueuedLongSynchronizerTest.java154 assertEquals(expected.length > 0, sync.hasQueuedThreads()); in assertHasQueuedThreads()
308 assertFalse(sync.hasQueuedThreads()); in testHasQueuedThreads()
312 assertTrue(sync.hasQueuedThreads()); in testHasQueuedThreads()
315 assertTrue(sync.hasQueuedThreads()); in testHasQueuedThreads()
318 assertTrue(sync.hasQueuedThreads()); in testHasQueuedThreads()
321 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/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java263 if (!hasQueuedThreads() && compareAndSetState(0, 1)) { in initialTryLock()
666 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in ReentrantLock
667 return sync.hasQueuedThreads(); in hasQueuedThreads()
DReentrantReadWriteLock.java1365 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in ReentrantReadWriteLock
1366 return sync.hasQueuedThreads(); in hasQueuedThreads()
DAbstractQueuedSynchronizer.java1111 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in AbstractQueuedSynchronizer
1334 + (hasQueuedThreads() ? "non" : "") + "empty queue]"; in toString()
DAbstractQueuedLongSynchronizer.java745 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in AbstractQueuedLongSynchronizer
968 + (hasQueuedThreads() ? "non" : "") + "empty queue]"; in toString()
/libcore/ojluni/src/main/java/java/util/concurrent/
DSemaphore.java679 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in Semaphore
680 return sync.hasQueuedThreads(); in hasQueuedThreads()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java96 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in ReentrantLock
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadTest.java317 while (!sem.hasQueuedThreads()) {} in test_getState()
/libcore/api/
Dcurrent.txt16302 method public final boolean hasQueuedThreads();
16853 method public final boolean hasQueuedThreads();
16900 method public final boolean hasQueuedThreads();
16976 method public final boolean hasQueuedThreads();
17003 method public final boolean hasQueuedThreads();