summaryrefslogtreecommitdiff
path: root/ev_epoll.c
diff options
context:
space:
mode:
authorroot <root>2011-06-04 05:33:29 +0000
committerroot <root>2011-06-04 05:33:29 +0000
commit9302b6e8c6244749ec6cc6ac074aa03f18a80a9a (patch)
treed7a3a965a97f95dfa36ebe6ccdce5e167bd9d528 /ev_epoll.c
parent436d5d174bfb936c4852a63eb03e0a3185f1502a (diff)
*** empty log message ***
Diffstat (limited to 'ev_epoll.c')
-rw-r--r--ev_epoll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ev_epoll.c b/ev_epoll.c
index c8448da..f9e3fd7 100644
--- a/ev_epoll.c
+++ b/ev_epoll.c
@@ -236,9 +236,9 @@ epoll_init (EV_P_ int flags)
fcntl (backend_fd, F_SETFD, FD_CLOEXEC);
- backend_fudge = 1./1024.; /* epoll does sometimes return early, this is just to avoid the worst */
- backend_modify = epoll_modify;
- backend_poll = epoll_poll;
+ backend_mintime = 1./1024.; /* epoll does sometimes return early, this is just to avoid the worst */
+ backend_modify = epoll_modify;
+ backend_poll = epoll_poll;
epoll_eventmax = 64; /* initial number of events receivable per poll */
epoll_events = (struct epoll_event *)ev_malloc (sizeof (struct epoll_event) * epoll_eventmax);