Thanks Brandon, and Marc: I got it finally. I was mislead by the fact that
the event did occur (only after a while), and so was being suspicious of
locking issues (not blocking issues :o)). Now everything makes perfect
sense. Sorry for the noise.

Regards,
Zoltan.


2012. március 25. 16:38 Brandon Black írta, <[email protected]>:

> 2012/3/25 Zoltán Lajos Kis <[email protected]>:
> > 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.
>
> From the docs for ev_set_loop_release_cb:
>
> While event loop modifications are allowed between invocations of
> release and acquire (that's their only purpose after all), no
> modifications done will affect the event loop, i.e. adding watchers
> will have no effect on the set of file descriptors being watched, or
> the time waited. Use an ev_async watcher to wake up ev_run when you
> want it to take note of any changes you made.
>
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to