Home
last modified time | relevance | path

Searched refs:InterruptedLockRunnable (Results 1 – 3 of 3) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DSemaphoreTest.java53 class InterruptedLockRunnable extends CheckedInterruptedRunnable { class in SemaphoreTest
55 InterruptedLockRunnable(Semaphore s) { lock = s; } in InterruptedLockRunnable() method in SemaphoreTest.InterruptedLockRunnable
314 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads()
337 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testGetQueueLength()
361 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads()
DReentrantLockTest.java36 class InterruptedLockRunnable extends CheckedInterruptedRunnable { class in ReentrantLockTest
38 InterruptedLockRunnable(ReentrantLock l) { lock = l; } in InterruptedLockRunnable() method in ReentrantLockTest.InterruptedLockRunnable
228 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads()
254 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueueLength()
292 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThread()
322 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads()
469 Thread t = newStartedThread(new InterruptedLockRunnable(lock)); in testLockInterruptibly()
DReentrantReadWriteLockTest.java37 class InterruptedLockRunnable extends CheckedInterruptedRunnable { class in ReentrantReadWriteLockTest
39 InterruptedLockRunnable(ReentrantReadWriteLock l) { lock = l; } in InterruptedLockRunnable() method in ReentrantReadWriteLockTest.InterruptedLockRunnable
1257 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads()
1297 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThread()
1328 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueueLength()
1354 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads()