Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DSemaphoreTest.java66 class InterruptedLockRunnable extends CheckedInterruptedRunnable { class in SemaphoreTest
68 InterruptedLockRunnable(Semaphore s) { lock = s; } in InterruptedLockRunnable() method in SemaphoreTest.InterruptedLockRunnable
327 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads()
350 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testGetQueueLength()
374 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads()
DReentrantLockTest.java51 class InterruptedLockRunnable extends CheckedInterruptedRunnable { class in ReentrantLockTest
53 InterruptedLockRunnable(ReentrantLock lock) { this.lock = lock; } in InterruptedLockRunnable() method in ReentrantLockTest.InterruptedLockRunnable
246 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads()
272 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueueLength()
310 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThread()
340 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads()
483 Thread t = newStartedThread(new InterruptedLockRunnable(lock)); in testLockInterruptibly()
DReentrantReadWriteLockTest.java52 class InterruptedLockRunnable extends CheckedInterruptedRunnable { class in ReentrantReadWriteLockTest
54 InterruptedLockRunnable(ReentrantReadWriteLock l) { lock = l; } in InterruptedLockRunnable() method in ReentrantReadWriteLockTest.InterruptedLockRunnable
1268 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads()
1308 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThread()
1339 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueueLength()
1365 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads()
DStampedLockTest.java45 class InterruptedLockRunnable extends CheckedInterruptedRunnable { class in StampedLockTest
47 InterruptedLockRunnable(StampedLock l) { lock = l; } in InterruptedLockRunnable() method in StampedLockTest.InterruptedLockRunnable