]> git.llucax.com Git - software/libev.git/blobdiff - ev_epoll.c
remember wether the fd was new or not
[software/libev.git] / ev_epoll.c
index d9ba8036c6f9cf01db227b5664ac23660e0eceb5..bb56218d54ec7bd2056edebbe70fb25e663c0b0c 100644 (file)
@@ -89,7 +89,7 @@ epoll_init (EV_P_ int flags)
 
   fcntl (backend_fd, F_SETFD, FD_CLOEXEC);
 
-  backend_fudge  = 2e-4; /* 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;