diff options
author | root <root> | 2011-01-08 10:25:16 +0000 |
---|---|---|
committer | root <root> | 2011-01-08 10:25:16 +0000 |
commit | eeb9e8c91f19ad2118c3966eddc3368c932012be (patch) | |
tree | ba153b7876907e36abe235d87fa6d612d59ca9a6 /ev_epoll.c | |
parent | aff093a7b45a52ce278f261e57d7105c73d5e1e7 (diff) |
*** empty log message ***
Diffstat (limited to 'ev_epoll.c')
-rw-r--r-- | ev_epoll.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -117,6 +117,8 @@ epoll_modify (EV_P_ int fd, int oev, int nev) } else if (expect_true (errno == EPERM)) { + /* EPERM means the fd is always ready, but epoll is too snobbish */ + /* to handle it, unlike select or poll. */ anfds [fd].emask = EV_EMASK_EPERM; /* add fd to epoll_eperms, if not already inside */ |