]> git.llucax.com Git - software/libev.git/blobdiff - ev_epoll.c
avoid backend_modify call unless ev_io_set was used
[software/libev.git] / ev_epoll.c
index c544a140c3b45730e6d8f5f97b9cfef8556bc4b0..bb56218d54ec7bd2056edebbe70fb25e663c0b0c 100644 (file)
@@ -89,7 +89,7 @@ epoll_init (EV_P_ int flags)
 
   fcntl (backend_fd, F_SETFD, FD_CLOEXEC);
 
-  backend_fudge  = 1e-3; /* needed to compensate for epoll returning early */
+  backend_fudge  = 0.; /* kernel sources seem to indicate this to be zero */
   backend_modify = epoll_modify;
   backend_poll   = epoll_poll;