summaryrefslogtreecommitdiff
path: root/ev_kqueue.c
diff options
context:
space:
mode:
authorroot <root>2011-06-02 23:34:05 +0000
committerroot <root>2011-06-02 23:34:05 +0000
commitb31cc1b7e254fb3aea85cd551aec6feb39cb3eef (patch)
tree4cf06067d3ae3d2aab303b1baead7fea445d3422 /ev_kqueue.c
parentdb116f08bb7e331dfbd14ead7bd5ce77344c2c6a (diff)
verify backend fudge factors by reading kernel sources
Diffstat (limited to 'ev_kqueue.c')
-rw-r--r--ev_kqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev_kqueue.c b/ev_kqueue.c
index 1b526d1..b70faa1 100644
--- a/ev_kqueue.c
+++ b/ev_kqueue.c
@@ -161,7 +161,7 @@ kqueue_init (EV_P_ int flags)
fcntl (backend_fd, F_SETFD, FD_CLOEXEC); /* not sure if necessary, hopefully doesn't hurt */
- backend_fudge = 0.;
+ backend_fudge = 1e-9; /* apparently, they did the right thing in freebsd */
backend_modify = kqueue_modify;
backend_poll = kqueue_poll;