Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DSemaphoreTest.java39 class InterruptibleLockRunnable extends CheckedRunnable { class in SemaphoreTest
41 InterruptibleLockRunnable(Semaphore s) { lock = s; } in InterruptibleLockRunnable() method in SemaphoreTest.InterruptibleLockRunnable
317 Thread t2 = newStartedThread(new InterruptibleLockRunnable(lock)); in testHasQueuedThreads()
340 Thread t2 = newStartedThread(new InterruptibleLockRunnable(lock)); in testGetQueueLength()
364 Thread t2 = newStartedThread(new InterruptibleLockRunnable(lock)); in testGetQueuedThreads()
464 Thread t = newStartedThread(new InterruptibleLockRunnable(s)); in testSerialization()
DReentrantLockTest.java24 class InterruptibleLockRunnable extends CheckedRunnable { class in ReentrantLockTest
26 InterruptibleLockRunnable(ReentrantLock l) { lock = l; } in InterruptibleLockRunnable() method in ReentrantLockTest.InterruptibleLockRunnable
229 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testHasQueuedThreads()
255 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testGetQueueLength()
293 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testHasQueuedThread()
323 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testGetQueuedThreads()
DReentrantReadWriteLockTest.java25 class InterruptibleLockRunnable extends CheckedRunnable { class in ReentrantReadWriteLockTest
27 InterruptibleLockRunnable(ReentrantReadWriteLock l) { lock = l; } in InterruptibleLockRunnable() method in ReentrantReadWriteLockTest.InterruptibleLockRunnable
1258 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testHasQueuedThreads()
1298 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testHasQueuedThread()
1329 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testGetQueueLength()
1355 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testGetQueuedThreads()