jdk/src/java.base/share/classes/sun/nio/ch/ServerSocketChannelImpl.java
changeset 34774 03b4e6dc367b
parent 29986 97167d851fc4
child 36115 0676e37a0b9c
equal deleted inserted replaced
34764:f9bcdce2df26 34774:03b4e6dc367b
    52     // fd value needed for dev/poll. This value will remain valid
    52     // fd value needed for dev/poll. This value will remain valid
    53     // even after the value in the file descriptor object has been set to -1
    53     // even after the value in the file descriptor object has been set to -1
    54     private int fdVal;
    54     private int fdVal;
    55 
    55 
    56     // ID of native thread currently blocked in this channel, for signalling
    56     // ID of native thread currently blocked in this channel, for signalling
    57     private volatile long thread = 0;
    57     private volatile long thread;
    58 
    58 
    59     // Lock held by thread currently blocked in this channel
    59     // Lock held by thread currently blocked in this channel
    60     private final Object lock = new Object();
    60     private final Object lock = new Object();
    61 
    61 
    62     // Lock held by any thread that modifies the state fields declared below
    62     // Lock held by any thread that modifies the state fields declared below