[timers] - triggering at the same time

Marc Lehmann schmorp at schmorp.de
Sun Dec 18 18:02:18 CET 2011


On Fri, Dec 16, 2011 at 07:15:57PM -0800, Neeraj Rai <rneeraj at yahoo.com> wrote:
>   When I init/start a timer, do I also init/start a prepare ?
>   Are all the timers at the same time bunched in same preppare callback ?

ok, the good news is that the cvs version, and probably 3.6 onward already
call timers in strict ordering, and this is not a concidence.

I also can't find where it is described as undefined in the documentation -
if you point out ot me where this is written, we can declare it a doc bug and
fix the docs to reflect reality, namely that timer callbacksa are invoked in
order.

the EV testsuite also checks for this explicitly.

so the issue might be a non-issue after all.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list