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

Comparing libev/ev_kqueue.c (file contents):
Revision 1.34 by root, Fri May 23 16:37:38 2008 UTC vs.
Revision 1.35 by root, Wed Oct 29 06:32:48 2008 UTC

99 kqueue_changecnt = 0; 99 kqueue_changecnt = 0;
100 100
101 if (expect_false (res < 0)) 101 if (expect_false (res < 0))
102 { 102 {
103 if (errno != EINTR) 103 if (errno != EINTR)
104 syserr ("(libev) kevent"); 104 ev_syserr ("(libev) kevent");
105 105
106 return; 106 return;
107 } 107 }
108 108
109 for (i = 0; i < res; ++i) 109 for (i = 0; i < res; ++i)
182kqueue_fork (EV_P) 182kqueue_fork (EV_P)
183{ 183{
184 close (backend_fd); 184 close (backend_fd);
185 185
186 while ((backend_fd = kqueue ()) < 0) 186 while ((backend_fd = kqueue ()) < 0)
187 syserr ("(libev) kqueue"); 187 ev_syserr ("(libev) kqueue");
188 188
189 fcntl (backend_fd, F_SETFD, FD_CLOEXEC); 189 fcntl (backend_fd, F_SETFD, FD_CLOEXEC);
190 190
191 /* re-register interest in fds */ 191 /* re-register interest in fds */
192 fd_rearm_all (EV_A); 192 fd_rearm_all (EV_A);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines