On Thu, Jan 26, 2012 at 2:33 PM, <[email protected]> wrote: > > [some code]
The code initially sets "after" to 0.1 and repeat to 0.0, which will initially fire the callback after 0.1 seconds. Inside the callback, you're setting a repeat for 1.0 seconds later via "w->repeat = 1." and ev_timer_again(), which causes it to continue firing every 1.0 seconds afterwards. Check the docs for ev_timer_init(), etc, if that doesn't make sense... -- Brandon
_______________________________________________ libev mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
