Searched refs:writeLock (Results 1 – 5 of 5) sorted by relevance
29 lock.writeLock().lockInterruptibly(); in realRun()41 lock.writeLock().lockInterruptibly(); in realRun()66 ReentrantReadWriteLock.WriteLock writeLock = lock.writeLock(); in releaseWriteLock() local69 writeLock.unlock(); in releaseWriteLock()93 assertFalse(lock.writeLock().isHeldByCurrentThread()); in assertNotWriteLocked()95 assertEquals(0, lock.writeLock().getHoldCount()); in assertNotWriteLocked()108 lock.writeLock().isHeldByCurrentThread()); in assertWriteLockedBy()112 lock.writeLock().getHoldCount() > 0); in assertWriteLockedBy()135 lock.writeLock().lock(); in assertHasWaiters()142 lock.writeLock().unlock(); in assertHasWaiters()[all …]
103 Lock writeLock(); in writeLock() method
217 public ReentrantReadWriteLock.WriteLock writeLock() { return writerLock; } in writeLock() method in ReentrantReadWriteLock
76 private final Object writeLock = new Object(); field in DatagramChannelImpl302 synchronized (writeLock) { in send()434 synchronized (writeLock) { in writeImpl()
90 private final Object writeLock = new Object(); field in SocketChannelImpl394 synchronized (writeLock) { in writeImpl()