equal
deleted
inserted
replaced
66 // Used to make native read and write calls |
66 // Used to make native read and write calls |
67 private static NativeDispatcher nd; |
67 private static NativeDispatcher nd; |
68 |
68 |
69 // Our file descriptor object |
69 // Our file descriptor object |
70 private final FileDescriptor fd; |
70 private final FileDescriptor fd; |
71 |
|
72 // fd value needed for dev/poll. This value will remain valid |
|
73 // even after the value in the file descriptor object has been set to -1 |
|
74 private final int fdVal; |
71 private final int fdVal; |
75 |
72 |
76 // IDs of native threads doing reads and writes, for signalling |
73 // IDs of native threads doing reads and writes, for signalling |
77 private volatile long readerThread; |
74 private volatile long readerThread; |
78 private volatile long writerThread; |
75 private volatile long writerThread; |