pgpool2.git / summary / log / commit / refs

commit    b76ddfcda546a7eec6dad85a7671d326ae057b83
Author:   Yoshiyuki Asaba <y-asaba at pgfoundry.org>
Date:     Fri Jun 29 14:15:50 2007 +0000

    Fix race condition between unsetting SIGCHLD flag and unblocking
    SIGCHLD signal.


main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index c4a94b238..3204c9b9e 100644 --- a/main.c +++ b/main.c @@ -62,7 +62,6 @@ if (sigchld_request) \ { \ reaper(); \ - sigchld_request = 0; \ } \ } while (0) @@ -1362,6 +1361,7 @@ static void reaper(void) POOL_SETMASK(&BlockSig); pool_debug("reap_handler called"); + sigchld_request = 0; if (exiting) { [parent: b6af4cfe3e32]