X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/873728239147765e6ead1b6c54065c5ed6107c9d..c12d1228a8089ed701ce994c8e2d9858d906a29d:/ev.c?ds=inline diff --git a/ev.c b/ev.c index a60ba0d..d024017 100644 --- a/ev.c +++ b/ev.c @@ -1168,6 +1168,7 @@ loop_fork (EV_P) syserr ("(libev) error creating pipe"); siginit (EV_A); + sigcb (EV_A_ &sigev, EV_READ); } postfork = 0; @@ -1199,7 +1200,7 @@ ev_loop_destroy (EV_P) void ev_loop_fork (EV_P) { - postfork = 1; + postfork = 1; // must be in line with ev_default_fork } #endif @@ -1273,7 +1274,7 @@ ev_default_fork (void) #endif if (backend) - postfork = 1; + postfork = 1; // must be in line with ev_loop_fork } /*****************************************************************************/ @@ -1311,7 +1312,7 @@ timers_reify (EV_P) { ev_timer *w = (ev_timer *)timers [0]; - assert (("inactive timer on timer heap detected", ev_is_active (w))); + /*assert (("inactive timer on timer heap detected", ev_is_active (w)));*/ /* first reschedule or stop timer */ if (w->repeat)