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.44 by sf-exg, Sat Apr 3 22:33:24 2010 UTC vs.
Revision 1.45 by sf-exg, Sat Jul 31 23:00:11 2010 UTC

154} 154}
155 155
156int inline_size 156int inline_size
157kqueue_init (EV_P_ int flags) 157kqueue_init (EV_P_ int flags)
158{ 158{
159 /* Initalize the kernel queue */ 159 /* Initialize the kernel queue */
160 if ((backend_fd = kqueue ()) < 0) 160 if ((backend_fd = kqueue ()) < 0)
161 return 0; 161 return 0;
162 162
163 fcntl (backend_fd, F_SETFD, FD_CLOEXEC); /* not sure if necessary, hopefully doesn't hurt */ 163 fcntl (backend_fd, F_SETFD, FD_CLOEXEC); /* not sure if necessary, hopefully doesn't hurt */
164 164

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines