On 08/01/2014 10:57 AM, Iñaki Baz Castillo wrote:
> 2014-08-01 10:44 GMT+02:00 Saúl Ibarra Corretgé <[email protected]>:
>> If you have a timer that kicks in 100ms, UV_RUN_ONCE will block for
>> 100ms. What I showed was an example.
> 
> Same as if you close the timer in its first callback (and that is even
> better than using UV_RUN_ONCE since you can free the timer handle and
> the entire loop without having to iterate all of them and call
> uv_close for later run again uv_run to execute their close callbacks).
> 

No sure what you are trying to explain. Close callbacks behave the same
no matter how you run the loop. Actually, if you close the timer in its
callback, it will be called on that same iteration, as the last step.

-- 
Saúl Ibarra Corretgé
bettercallsaghul.com


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to