On Mon, Feb 22, 2016 at 04:13:07PM +0200, Alex Efros <[email protected]>
wrote:
> Okay, that makes sense, thanks.
>
> If it works this way (because of internal libev watchers), then I see
> possible use cases for EV::run(0) and EV::run(RUN_NOWAIT), but can't
> imagine use cases for RUN_ONCE. Are there some examples for RUN_ONCE uses?
The typical RUN_ONCE use case is to implement your own ev_run-like
function with extra functionality. For example, ev_break-like
functionality could be implemented via RUN_ONCE.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/libev