empty loop, adding watchers, one minute idle
schmorp at schmorp.de
Sun Mar 25 19:43:55 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.
Then something must be very wrong in your test program: What unlocks the
mutex, if ev_run does not return? In your test program, when you lock
the mutex before ev_run and then try to lock it again before adding the
watcher, you should get an effective freeze, because the mutex is locked
and never freed.
Presumably, you changed something else, too?
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