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.11 by root, Sat Nov 3 10:37:29 2007 UTC vs.
Revision 1.12 by root, Sat Nov 3 11:44:44 2007 UTC

73 if (eventcnt < 0) 73 if (eventcnt < 0)
74 return; 74 return;
75 75
76 for (i = 0; i < eventcnt; ++i) 76 for (i = 0; i < eventcnt; ++i)
77 fd_event ( 77 fd_event (
78 events [i].data.fd, 78 events [i].data.u64,
79 (events [i].events & (EPOLLOUT | EPOLLERR | EPOLLHUP) ? EV_WRITE : 0) 79 (events [i].events & (EPOLLOUT | EPOLLERR | EPOLLHUP) ? EV_WRITE : 0)
80 | (events [i].events & (EPOLLIN | EPOLLERR | EPOLLHUP) ? EV_READ : 0) 80 | (events [i].events & (EPOLLIN | EPOLLERR | EPOLLHUP) ? EV_READ : 0)
81 ); 81 );
82 82
83 /* if the receive array was full, increase its size */ 83 /* if the receive array was full, increase its size */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines