/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AbstractQueuedLongSynchronizerTest.java | 121 void waitForQueuedThread(AbstractQueuedLongSynchronizer sync, in waitForQueuedThread() method in AbstractQueuedLongSynchronizerTest 285 waitForQueuedThread(sync, t1); in testHasQueuedThreads() 288 waitForQueuedThread(sync, t2); in testHasQueuedThreads() 320 waitForQueuedThread(sync, t1); in testIsQueued() 324 waitForQueuedThread(sync, t2); in testIsQueued() 345 waitForQueuedThread(sync, t1); in testGetFirstQueuedThread() 348 waitForQueuedThread(sync, t2); in testGetFirstQueuedThread() 367 waitForQueuedThread(sync, t1); in testHasContended() 370 waitForQueuedThread(sync, t2); in testHasContended() 391 waitForQueuedThread(sync, t1); in testGetQueuedThreads() [all …]
|
D | AbstractQueuedSynchronizerTest.java | 125 void waitForQueuedThread(AbstractQueuedSynchronizer sync, Thread t) { in waitForQueuedThread() method in AbstractQueuedSynchronizerTest 288 waitForQueuedThread(sync, t1); in testHasQueuedThreads() 291 waitForQueuedThread(sync, t2); in testHasQueuedThreads() 323 waitForQueuedThread(sync, t1); in testIsQueued() 327 waitForQueuedThread(sync, t2); in testIsQueued() 348 waitForQueuedThread(sync, t1); in testGetFirstQueuedThread() 351 waitForQueuedThread(sync, t2); in testGetFirstQueuedThread() 370 waitForQueuedThread(sync, t1); in testHasContended() 373 waitForQueuedThread(sync, t2); in testHasContended() 394 waitForQueuedThread(sync, t1); in testGetQueuedThreads() [all …]
|
D | SemaphoreTest.java | 64 void waitForQueuedThread(PublicSemaphore s, Thread t) { in waitForQueuedThread() method in SemaphoreTest 254 waitForQueuedThread(s, t); in testInterruptible() 257 waitForQueuedThread(s, t); in testInterruptible() 292 waitForQueuedThread(s, t1); in testUninterruptible() 293 waitForQueuedThread(s, t2); in testUninterruptible() 315 waitForQueuedThread(lock, t1); in testHasQueuedThreads() 318 waitForQueuedThread(lock, t2); in testHasQueuedThreads() 338 waitForQueuedThread(lock, t1); in testGetQueueLength() 341 waitForQueuedThread(lock, t2); in testGetQueueLength() 362 waitForQueuedThread(lock, t1); in testGetQueuedThreads() [all …]
|
D | ReentrantReadWriteLockTest.java | 76 void waitForQueuedThread(PublicReentrantReadWriteLock lock, Thread t) { in waitForQueuedThread() method in ReentrantReadWriteLockTest 305 waitForQueuedThread(lock, t); in testWriteLockInterruptibly_Interruptible() 325 waitForQueuedThread(lock, t); in testWriteTryLock_Interruptible() 345 waitForQueuedThread(lock, t); in testReadLockInterruptibly_Interruptible() 365 waitForQueuedThread(lock, t); in testReadTryLock_Interruptible() 461 waitForQueuedThread(lock, t); in testWriteAfterReadLock() 495 waitForQueuedThread(lock, t2); in testWriteAfterMultipleReadLocks() 523 waitForQueuedThread(lock, t1); in testReaderWriterReaderFairFifo() 533 waitForQueuedThread(lock, t2); in testReaderWriterReaderFairFifo() 563 waitForQueuedThread(lock, t1); in testReadAfterWriteLock() [all …]
|
D | ReentrantLockTest.java | 74 void waitForQueuedThread(PublicReentrantLock lock, Thread t) { in waitForQueuedThread() method in ReentrantLockTest 234 waitForQueuedThread(lock, t1); in testHasQueuedThreads() 237 waitForQueuedThread(lock, t2); in testHasQueuedThreads() 259 waitForQueuedThread(lock, t1); in testGetQueueLength() 262 waitForQueuedThread(lock, t2); in testGetQueueLength() 298 waitForQueuedThread(lock, t1); in testHasQueuedThread() 302 waitForQueuedThread(lock, t2); in testHasQueuedThread() 328 waitForQueuedThread(lock, t1); in testGetQueuedThreads() 332 waitForQueuedThread(lock, t2); in testGetQueuedThreads() 359 waitForQueuedThread(lock, t); in testTryLock_Interruptible() [all …]
|