Fix terminate_all_childrens() to not block in waitpid().
terminate_all_childrens() waits for child to exit using waitpid
without WNOHANG option. This could hang in waitpid(). Use WNOHANG
option to avoid the hang.
Author: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Backpatch-through: v4.3
Branch
------
V4_3_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=99e3852a7784b0e911ee273494f6f9f65f3f88a0
Modified Files
--------------
src/main/pgpool_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)