TODO: faq, process a thing in each iteration
TODO: dbeugging tips, ev_verify, ev_init twice
+ - destroying a non-default loop would stop the global waitpid
+ watcher (Denis Bilenko).
- queueing pending watchers of higher priority from a watcher now invokes
them in a timely fashion (reported by Denis Bilenko).
- add throw() to all libev functions that cannot throw exceptions, for
#endif
#if EV_CHILD_ENABLE
- if (ev_is_active (&childev))
+ if (ev_is_default_loop (EV_A) && ev_is_active (&childev))
{
ev_ref (EV_A); /* child watcher */
ev_signal_stop (EV_A_ &childev);