X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/b7ecda387a714c9e3d208b453360d15bd4cad664..c12d1228a8089ed701ce994c8e2d9858d906a29d:/ev.c diff --git a/ev.c b/ev.c index 8a915a4..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 } /*****************************************************************************/