2012/3/25 Zoltán Lajos Kis <zoltan.lajos....@gmail.com>:
> 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
libev@lists.schmorp.de
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to