On Mon, Feb 22, 2016 at 04:13:07PM +0200, Alex Efros <power...@powerman.name> 
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
      --==---/ / _ \/ // /\ \/ /      schm...@schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/mailman/listinfo/libev

Reply via email to