Hi, i m creating some timers and i see some things (hope i have not
missed anything on the docs):

1. i m setting the repeat value and calling ev_timer_again but i m
unsure about something,
but i m setting the repeat value to 60s and calling ev_timer_again,
before the time out happens i change the repeat value to, for example,
5 segs and call ev_timer_again,
so i would expect the timer to time out 5 segs after i called
ev_timer_again for the second time but this is not happening, what i see is that
the timer first expires after the initial 60s and then expires again
5s later. is this how it is
supposed to behave ?

2. when i want  to terminate the loop, at program exit, and the timers
have not expired the program hangs there
until, i guess the timers expire, i have tried calling ev_break but it
does not make any difference,
what i m doing is ev_time_stop on all timers when i m asked to exit
is this also supposed to behave like that ?


thanks!!!!

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to