Searched refs:readLock (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/locks/
H A DReadWriteLock.java12 * The {@link #readLock read lock} may be held simultaneously by
19 * to the associated <tt>readLock</tt>. That is, a thread successfully
96 Lock readLock(); method in interface:ReadWriteLock
H A DReentrantReadWriteLock.java89 * {@code readLock().newCondition()} throws
114 * rwl.readLock().lock();
117 * rwl.readLock().unlock();
127 * rwl.readLock().lock();
136 * rwl.readLock().unlock();
153 * private final Lock r = rwl.readLock();
219 public ReentrantReadWriteLock.ReadLock readLock() { return readerLock; } method in class:ReentrantReadWriteLock
275 * readLock. This saves ThreadLocal lookup in the common case
676 * The lock returned by method {@link ReentrantReadWriteLock#readLock}.
/libcore/luni/src/main/java/java/nio/
H A DDatagramChannelImpl.java67 private final Object readLock = new Object(); field in class:DatagramChannelImpl
180 synchronized (readLock) {
336 synchronized (readLock) {
H A DSocketChannelImpl.java85 private final Object readLock = new Object(); field in class:SocketChannelImpl
308 synchronized (readLock) {
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DOpenSSLSocketImpl.java71 private final Object readLock = new Object(); field in class:OpenSSLSocketImpl
667 synchronized (readLock) {
975 // Interrupt any outstanding reads or writes before taking the writeLock and readLock
979 synchronized (readLock) {

Completed in 96 milliseconds