From 6a30e750dc5b7dd735094e3ddbf06efa5cdc930b Mon Sep 17 00:00:00 2001 From: root Date: Sat, 20 Jun 2009 20:22:35 +0000 Subject: *** empty log message *** --- ev.pod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ev.pod') diff --git a/ev.pod b/ev.pod index 71c4347..26be56c 100644 --- a/ev.pod +++ b/ev.pod @@ -1525,7 +1525,7 @@ member and C. At start: - ev_timer_init (timer, callback); + ev_init (timer, callback); timer->repeat = 60.; ev_timer_again (loop, timer); @@ -1597,7 +1597,7 @@ To start the timer, simply initialise the watcher and set C to the current time (meaning we just have some activity :), then call the callback, which will "do the right thing" and start the timer: - ev_timer_init (timer, callback); + ev_init (timer, callback); last_activity = ev_now (loop); callback (loop, timer, EV_TIMEOUT); @@ -2473,7 +2473,7 @@ the callbacks for the IO/timeout watchers might not have been called yet. adns_beforepoll (ads, fds, &nfd, &timeout, timeval_from (ev_time ())); /* the callback is illegal, but won't be called as we stop during check */ - ev_timer_init (&tw, 0, timeout * 1e-3); + ev_timer_init (&tw, 0, timeout * 1e-3, 0.); ev_timer_start (loop, &tw); // create one ev_io per pollfd -- cgit v1.2.3