… | … | ||
---|---|---|---|
124 | 124 | ||
125 | watcher () : active (0) { } | 125 | watcher () : active (0) { } |
126 | }; | 126 | }; |
127 | 127 | ||
128 | #if IOM_IO | 128 | #if IOM_IO |
129 | enum { EVENT_READ = 1, EVENT_WRITE = 2 }; | 129 | enum { EVENT_UNDEF = -1, EVENT_NONE = 0, EVENT_READ = 1, EVENT_WRITE = 2 }; |
130 | 130 | ||
131 | struct io_watcher : watcher, callback2<void, io_watcher &, short> { | 131 | struct io_watcher : watcher, callback2<void, io_watcher &, short> { |
132 | int fd; | 132 | int fd; |
133 | short events; | 133 | short events; |
134 | 134 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |