Searched refs:lockInterruptibly (Results 1 - 21 of 21) sorted by relevance

/openjdk10/jdk/src/java.base/share/classes/java/util/concurrent/locks/
H A DLock.java99 * interrupted ({@link #lockInterruptibly}, and an attempt to acquire
234 void lockInterruptibly() throws InterruptedException; method in interface:Lock
H A DReentrantLock.java316 public void lockInterruptibly() throws InterruptedException { method in class:ReentrantLock
H A DReentrantReadWriteLock.java782 public void lockInterruptibly() throws InterruptedException { method in class:ReentrantReadWriteLock.ReadLock
1013 public void lockInterruptibly() throws InterruptedException { method in class:ReentrantReadWriteLock.WriteLock
H A DStampedLock.java475 * for method {@link Lock#lockInterruptibly()}.
568 * for method {@link Lock#lockInterruptibly()}.
959 public void lockInterruptibly() throws InterruptedException { method in class:StampedLock.ReadLockView
975 public void lockInterruptibly() throws InterruptedException { method in class:StampedLock.WriteLockView
/openjdk10/jdk/test/java/util/concurrent/locks/Lock/
H A DMutex.java73 public void lockInterruptibly() throws InterruptedException { method in class:Mutex
H A DFlakyMutex.java126 public void lockInterruptibly() throws InterruptedException { method in class:FlakyMutex
/openjdk10/jdk/test/java/util/concurrent/FutureTask/
H A DCancelledFutureLoops.java145 lock.lockInterruptibly();
/openjdk10/jdk/test/java/util/concurrent/locks/ReentrantLock/
H A DCancelledLockLoops.java37 * @summary tests ReentrantLock.lockInterruptibly.
125 lock.lockInterruptibly();
/openjdk10/jdk/src/java.base/share/classes/java/util/concurrent/
H A DDelayQueue.java212 lock.lockInterruptibly();
257 lock.lockInterruptibly();
H A DArrayBlockingQueue.java364 lock.lockInterruptibly();
388 lock.lockInterruptibly();
414 lock.lockInterruptibly();
427 lock.lockInterruptibly();
H A DLinkedBlockingDeque.java403 lock.lockInterruptibly();
426 lock.lockInterruptibly();
507 lock.lockInterruptibly();
525 lock.lockInterruptibly();
H A DLinkedBlockingQueue.java332 putLock.lockInterruptibly();
373 putLock.lockInterruptibly();
432 takeLock.lockInterruptibly();
455 takeLock.lockInterruptibly();
H A DPriorityBlockingQueue.java545 lock.lockInterruptibly();
559 lock.lockInterruptibly();
H A DScheduledThreadPoolExecutor.java1165 lock.lockInterruptibly();
1201 lock.lockInterruptibly();
/openjdk10/jdk/test/java/lang/management/ThreadMXBean/
H A DMyOwnSynchronizer.java144 public void lockInterruptibly() throws InterruptedException { method in class:MyOwnSynchronizer.Mutex
/openjdk10/jdk/test/java/util/concurrent/tck/
H A DStampedLockTest.java102 lockers.add(() -> lock.lockInterruptibly());
312 () -> lock.asWriteLock().lockInterruptibly(),
315 () -> lock.asReadLock().lockInterruptibly(),
375 () -> lock.asWriteLock().lockInterruptibly(),
377 () -> lock.asReadLock().lockInterruptibly(),
395 () -> lock.asWriteLock().lockInterruptibly(),
496 lock.asReadLock().lockInterruptibly();
693 lock.asReadLock().lockInterruptibly();
H A DReentrantReadWriteLockTest.java61 * A runnable calling lockInterruptibly
67 lock.writeLock().lockInterruptibly();
72 * A runnable calling lockInterruptibly that expects to be
79 lock.writeLock().lockInterruptibly();
334 * write-lockInterruptibly is interruptible
344 lock.writeLock().lockInterruptibly();
374 * read-lockInterruptibly is interruptible
384 lock.readLock().lockInterruptibly();
854 * write lockInterruptibly succeeds if unlocked, else is interruptible
862 lock.writeLock().lockInterruptibly();
[all...]
H A DReentrantLockTest.java60 * A checked runnable calling lockInterruptibly
66 lock.lockInterruptibly();
71 * A checked runnable calling lockInterruptibly that expects to be
78 lock.lockInterruptibly();
496 * lockInterruptibly succeeds when unlocked, else is interruptible
503 lock.lockInterruptibly();
/openjdk10/jdk/test/java/lang/management/ManagementFactory/
H A DThreadMXBeanProxy.java233 public void lockInterruptibly() throws InterruptedException { method in class:ThreadMXBeanProxy.Mutex
/openjdk10/jdk/test/java/util/concurrent/locks/ReentrantReadWriteLock/
H A DCount.java59 case 1: lock.lockInterruptibly(); break;
/openjdk10/jdk/test/java/util/concurrent/locks/StampedLock/
H A DBasic.java163 rl.lockInterruptibly();
241 wl.lockInterruptibly();

Completed in 271 milliseconds