On Fri, Aug 1, 2014 at 2:48 AM, Saúl Ibarra Corretgé <[email protected]> wrote:
> It's not. The reason is buried inside how uv_run works, which I need to
> document for once :-S
>
> Basically, you are scheduling a timer for 0ms, which means it's due *now*.
>
> Then, when you call uv_run, the first thing to do is run the due timers,
> so, your timer's callback will be called.

Right, but I would expect UV_RUN_ONCE to only execute those timers
which were due when uv_run was started, not the ones that became due
while it was running.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to