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.
2012. március 25. 15:28 Marc Lehmann írta, <[email protected]>: > On Sun, Mar 25, 2012 at 11:04:56AM +0200, Zoltán Lajos Kis < > [email protected]> wrote: > > Thanks for your response. I believe I have all the needed locking in > place. > > I can't see any locks around ev_run - every function with a loop argument > needs locking, unless documented specifically to be an exception. > > > Is there any other calls / locking I need to use in this latter case to > > have the event fire right away? > > Sure, again, see the documented example in the documentation. > > -- > 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/cgi-bin/mailman/listinfo/libev
