empty loop, adding watchers, one minute idle

Marc Lehmann schmorp at schmorp.de
Sun Mar 25 19:45:32 CEST 2012


On Sun, Mar 25, 2012 at 04:12:20PM +0200, Zoltán Lajos Kis <zoltan.lajos.kis at gmail.com> wrote:
> Even if you lock the mutex before the call to ev_ref and ev_run, the
> outcome is still the same: the one minute delay remains.

ah, wait, you do lock/unlock in release acquire, but you probably have not
added an async_send to wake up the event loop?


-- 
                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