Searched defs:writeLock (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/locks/
H A DReadWriteLock.java14 * {@link #writeLock write lock} is exclusive.
17 * the memory synchronization effects of {@code writeLock} operations
103 Lock writeLock(); method in interface:ReadWriteLock
H A DReentrantReadWriteLock.java118 * rwl.writeLock().lock();
129 * rwl.writeLock().unlock(); // Unlock write, still hold read
154 * private final Lock w = rwl.writeLock();
217 public ReentrantReadWriteLock.WriteLock writeLock() { return writerLock; } method in class:ReentrantReadWriteLock
881 * The lock returned by method {@link ReentrantReadWriteLock#writeLock}.
/libcore/luni/src/main/java/java/nio/
H A DDatagramChannelImpl.java76 private final Object writeLock = new Object(); field in class:DatagramChannelImpl
302 synchronized (writeLock) {
434 synchronized (writeLock) {
H A DSocketChannelImpl.java90 private final Object writeLock = new Object(); field in class:SocketChannelImpl
394 synchronized (writeLock) {

Completed in 281 milliseconds