--
You received this message because you are subscribed to the Google Groups "libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libuv+un...@googlegroups.com.
To post to this group, send email to li...@googlegroups.com.
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.
What if the callback execution would take 1000ms to run? Would you like it to just constantly spin?
There are multiple opinions about how that should go. I for one would
get rid of the timer repeat functionality and leave it on the hands of
the user so you calculate the time you want. Anyway, you can calculate
how long your callback took to execute and use uv_timer_set_repeat to
modify it, or just call uv_timer_start with the new timeout.
--
You received this message because you are subscribed to a topic in the Google Groups "libuv" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/libuv/uaN1o4IAWW8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to libuv+un...@googlegroups.com.
IMHO it is not good to re-join "later" a loop in which there were timers or pending TCP connections. Define "later".
--
Iñaki Baz Castillo
<i...@aliax.net>