]> git.llucax.com Git - software/libev.git/blobdiff - ev_kqueue.c
avoid backend_modify call unless ev_io_set was used
[software/libev.git] / ev_kqueue.c
index 3103db1dd711a3867311366430b5a839ca9e1d45..149455d609fd2f1ad320257f2743aef51cf76291 100644 (file)
@@ -153,8 +153,7 @@ kqueue_init (EV_P_ int flags)
 
   fcntl (backend_fd, F_SETFD, FD_CLOEXEC); /* not sure if necessary, hopefully doesn't hurt */
 
-  /* fudge *might* be zero from the documentation, but bsd docs are notoriously wrong */
-  backend_fudge  = 1e-3; /* needed to compensate for kevent returning early */
+  backend_fudge  = 0.;
   backend_modify = kqueue_modify;
   backend_poll   = kqueue_poll;