ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev_epoll.c
(Generate patch)

Comparing libev/ev_epoll.c (file contents):
Revision 1.6 by root, Wed Oct 31 20:46:44 2007 UTC vs.
Revision 1.7 by root, Wed Oct 31 22:16:37 2007 UTC

53 epoll_fd = epoll_create (256); 53 epoll_fd = epoll_create (256);
54 fcntl (epoll_fd, F_SETFD, FD_CLOEXEC); 54 fcntl (epoll_fd, F_SETFD, FD_CLOEXEC);
55 55
56 /* re-register interest in fds */ 56 /* re-register interest in fds */
57 for (fd = 0; fd < anfdmax; ++fd) 57 for (fd = 0; fd < anfdmax; ++fd)
58 if (anfds [fd].wev) 58 if (anfds [fd].events && !(anfds [fd].events & EV_REIFY))//D
59 epoll_modify (fd, EV_NONE, anfds [fd].wev); 59 epoll_modify (fd, EV_NONE, anfds [fd].events);
60} 60}
61 61
62static struct epoll_event *events; 62static struct epoll_event *events;
63static int eventmax; 63static int eventmax;
64 64

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines