diff options
author | root <root> | 2007-11-04 23:14:11 +0000 |
---|---|---|
committer | root <root> | 2007-11-04 23:14:11 +0000 |
commit | 22b2a449105d7604f715c1afafeb4fe5ac473f1b (patch) | |
tree | b18e0643b0b285e16de1ac4641e5aecdc59c1bec /ev_poll.c | |
parent | fbe9562600fa8735c078401aa604b49a5426b0e2 (diff) |
- have to re-check potentially closed fds regularly for epoll. this hurts
badly :(
- still more than twice as fats as libevent.
- many minor fixes
Diffstat (limited to 'ev_poll.c')
-rw-r--r-- | ev_poll.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -42,6 +42,10 @@ static void poll_modify (EV_P_ int fd, int oev, int nev) { int idx; + + if (oev == nev) + return; + array_needsize (pollidxs, pollidxmax, fd + 1, pollidx_init); idx = pollidxs [fd]; |