/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | SemaphoreTest.java | 107 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 …]
|
D | ReentrantLockTest.java | 271 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()
|
D | AbstractQueuedSynchronizerTest.java | 180 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()
|
D | AbstractQueuedLongSynchronizerTest.java | 177 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()
|
D | ReentrantReadWriteLockTest.java | 1193 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/ |
D | SemaphoreTest.java | 84 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 …]
|
D | ReentrantLockTest.java | 248 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()
|
D | AbstractQueuedSynchronizerTest.java | 157 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()
|
D | AbstractQueuedLongSynchronizerTest.java | 154 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()
|
D | ReentrantReadWriteLockTest.java | 1173 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/ |
D | ReentrantLock.java | 263 if (!hasQueuedThreads() && compareAndSetState(0, 1)) { in initialTryLock() 666 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in ReentrantLock 667 return sync.hasQueuedThreads(); in hasQueuedThreads()
|
D | ReentrantReadWriteLock.java | 1365 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in ReentrantReadWriteLock 1366 return sync.hasQueuedThreads(); in hasQueuedThreads()
|
D | AbstractQueuedSynchronizer.java | 1111 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in AbstractQueuedSynchronizer 1334 + (hasQueuedThreads() ? "non" : "") + "empty queue]"; in toString()
|
D | AbstractQueuedLongSynchronizer.java | 745 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in AbstractQueuedLongSynchronizer 968 + (hasQueuedThreads() ? "non" : "") + "empty queue]"; in toString()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Semaphore.java | 679 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in Semaphore 680 return sync.hasQueuedThreads(); in hasQueuedThreads()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/ |
D | ReentrantLock.java | 96 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in ReentrantLock
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadTest.java | 317 while (!sem.hasQueuedThreads()) {} in test_getState()
|
/libcore/api/ |
D | current.txt | 16302 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();
|