Searched refs:asWriteLock (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | StampedLockTest.java | 148 writeUnlockers.add((sl, stamp) -> sl.asWriteLock().unlock()); in writeUnlockers() 312 () -> lock.asWriteLock().lockInterruptibly(), in testInterruptibleOperationsThrowInterruptedExceptionWhenPreInterrupted() 313 () -> lock.asWriteLock().tryLock(0L, DAYS), in testInterruptibleOperationsThrowInterruptedExceptionWhenPreInterrupted() 314 () -> lock.asWriteLock().tryLock(Long.MAX_VALUE, DAYS), in testInterruptibleOperationsThrowInterruptedExceptionWhenPreInterrupted() 375 () -> lock.asWriteLock().lockInterruptibly(), in testInterruptibleOperationsThrowInterruptedExceptionWriteLockedInterrupted() 376 () -> lock.asWriteLock().tryLock(Long.MAX_VALUE, DAYS), in testInterruptibleOperationsThrowInterruptedExceptionWriteLockedInterrupted() 395 () -> lock.asWriteLock().lockInterruptibly(), in testInterruptibleOperationsThrowInterruptedExceptionReadLockedInterrupted() 396 () -> lock.asWriteLock().tryLock(Long.MAX_VALUE, DAYS), in testInterruptibleOperationsThrowInterruptedExceptionReadLockedInterrupted() 427 lock.asWriteLock().lock(); in testNonInterruptibleOperationsIgnoreInterrupts() 428 lock.asWriteLock().unlock(); in testNonInterruptibleOperationsIgnoreInterrupts() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | StampedLock.java | 1016 public Lock asWriteLock() { in asWriteLock() method in StampedLock 1072 public Lock writeLock() { return asWriteLock(); } in writeLock()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | StampedLockTest.java | 843 Lock lock = sl.asWriteLock(); in testAsWriteLock()
|
/libcore/api/ |
D | current.txt | 17038 method public java.util.concurrent.locks.Lock asWriteLock();
|