Searched refs:hasQueuedThreads (Results 1 – 12 of 12) sorted by relevance
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 …]
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()
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()
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()
638 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in ReentrantLock639 return sync.hasQueuedThreads(); in hasQueuedThreads()
1356 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in ReentrantReadWriteLock1357 return sync.hasQueuedThreads(); in hasQueuedThreads()
919 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in AbstractQueuedLongSynchronizer1173 + (hasQueuedThreads() ? "non" : "") + "empty queue]"; in toString()
96 public final boolean hasQueuedThreads() { in hasQueuedThreads() method in ReentrantLock
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()
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()
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()
317 while (!sem.hasQueuedThreads()) {} in test_getState()