summaryrefslogtreecommitdiff
path: root/ev_port.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_port.c
parent436d5d174bfb936c4852a63eb03e0a3185f1502a (diff)
*** empty log message ***
Diffstat (limited to 'ev_port.c')
-rw-r--r--ev_port.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ev_port.c b/ev_port.c
index 082766f..9368501 100644
--- a/ev_port.c
+++ b/ev_port.c
@@ -153,9 +153,9 @@ port_init (EV_P_ int flags)
* up. Since we can't know what the case is, we need to guess by using a
* "large enough" timeout. Normally, 1e-9 would be correct.
*/
- backend_fudge = 1e-3; /* needed to compensate for port_getn returning early */
- backend_modify = port_modify;
- backend_poll = port_poll;
+ backend_mintime = 1e-3; /* needed to compensate for port_getn returning early */
+ backend_modify = port_modify;
+ backend_poll = port_poll;
port_eventmax = 64; /* initial number of events receivable per poll */
port_events = (port_event_t *)ev_malloc (sizeof (port_event_t) * port_eventmax);