… | … | ||
---|---|---|---|
232 | } | 232 | } |
233 | 233 | ||
234 | return 0; | 234 | return 0; |
235 | } | 235 | } |
236 | 236 | ||
237 | void event_active (struct event *ev, int fd, short events) | ||
238 | { | ||
239 | /* unclear what this does, likely internal-use */ | ||
240 | } | ||
241 | |||
242 | int event_pending (struct event *ev, short events, struct timeval *tv) | 237 | int event_pending (struct event *ev, short events, struct timeval *tv) |
243 | { | 238 | { |
244 | short revents; | 239 | short revents; |
245 | 240 | ||
246 | if (ev->io.pending) | 241 | if (ev->io.pending) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |