X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/f6697eb872f851b85513b420aa8a4eb1a7114857..f279f2b7372a6523b4055dea41bc75e0a3d7b253:/ev.c?ds=inline 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 } /*****************************************************************************/