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

/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/
H A DReadWriteLock.java43 * {@link #writeLock write lock} is exclusive.
46 * the memory synchronization effects of <tt>writeLock</tt> operations
132 Lock writeLock(); method in interface:ReadWriteLock
H A DReentrantReadWriteLock.java148 * rwl.writeLock().lock();
159 * rwl.writeLock().unlock(); // Unlock write, still hold read
184 * private final Lock w = rwl.writeLock();
248 public ReentrantReadWriteLock.WriteLock writeLock() { return writerLock; } method in class:ReentrantReadWriteLock
911 * The lock returned by method {@link ReentrantReadWriteLock#writeLock}.
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixDirectoryStream.java78 protected final Lock writeLock() { method in class:UnixDirectoryStream
79 return streamLock.writeLock();
104 writeLock().lock();
108 writeLock().unlock();
/openjdk7/corba/src/share/classes/com/sun/corba/se/pept/transport/
H A DConnection.java174 public void writeLock(); method in interface:Connection
/openjdk7/jdk/src/share/classes/java/io/
H A DConsole.java243 synchronized (writeLock) {
307 synchronized (writeLock) {
362 private Object writeLock; field in class:Console
557 writeLock = new Object();
568 writeLock,
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DChannels.java440 private Object writeLock = new Object(); field in class:Channels.WritableByteChannelImpl
449 synchronized (writeLock) {
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DThemeReader.java54 // writing with writeLock
58 private static final Lock writeLock = readWriteLock.writeLock(); field in class:ThemeReader
61 writeLock.lock();
69 writeLock.unlock();
75 // this should be called only with writeLock held
101 writeLock.lock();
106 writeLock.unlock();// Unlock write, still hold read
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DAsynchronousSocketChannelImpl.java73 private final Object writeLock = new Object(); field in class:AsynchronousSocketChannelImpl
135 closeLock.writeLock().lock();
141 closeLock.writeLock().unlock();
159 synchronized (writeLock) {
177 synchronized (writeLock) {
347 synchronized (writeLock) {
547 synchronized (writeLock) {
H A DSocketChannelImpl.java65 private final Object writeLock = new Object(); field in class:SocketChannelImpl
473 synchronized (writeLock) {
511 synchronized (writeLock) {
545 synchronized (writeLock) {
592 synchronized (writeLock) {
638 synchronized (writeLock) {
713 synchronized (writeLock) {
H A DDatagramChannelImpl.java73 private final Object writeLock = new Object(); field in class:DatagramChannelImpl
438 synchronized (writeLock) {
603 synchronized (writeLock) {
632 synchronized (writeLock) {
675 synchronized (writeLock) {
730 synchronized(writeLock) {
762 synchronized(writeLock) {
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/transport/
H A DSocketOrChannelConnectionImpl.java376 // the state of the socket is ABORT so the writeLock
443 // the state of the socket is ABORT so the writeLock
761 writeLock();
908 * Sets the writeLock for this connection.
909 * If the writeLock is already set by someone else, block till the
910 * writeLock is released and can set by us.
912 * setting the writeLock and must be unlocked after setting the writeLock.
914 public void writeLock() method in class:SocketOrChannelConnectionImpl
918 dprint(".writeLock
[all...]
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DSSLEngineImpl.java306 * <code>writeLock</code> or run the risk of deadlock.
312 Object writeLock; field in class:SSLEngineImpl
389 writeLock = new Object();
1233 synchronized (writeLock) {
H A DSSLSocketImpl.java272 * The writeLock is held while writing on a socket connection and
274 * writeLock is package private for Handshaker which holds it while
292 final ReentrantLock writeLock = new ReentrantLock(); field in class:SSLSocketImpl
751 if (writeLock.tryLock(getSoLinger(), TimeUnit.SECONDS)) {
755 writeLock.unlock();
799 writeLock.lock();
803 writeLock.unlock();
866 writeLock.lock();
872 writeLock.unlock();
1732 writeLock
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DAbstractDocument.java146 writeLock();
553 writeLock();
585 writeLock();
600 * will have obtained a <code>writeLock</code> before invoking this.
659 writeLock();
702 writeLock();
1309 * allowed to gain more than one <code>writeLock</code>,
1310 * as long as it doesn't attempt to gain additional <code>writeLock</code>s
1312 * <code>writeLock</code> from within a DocumentListener notification will
1314 * to obtain more than one <code>writeLock</cod
1330 protected synchronized final void writeLock() { method in class:AbstractDocument
[all...]

Completed in 438 milliseconds