equal
deleted
inserted
replaced
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 |