summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2021-11-24 13:11:50 +0300
committerMax Romanov <max.romanov@nginx.com>2021-11-24 13:11:50 +0300
commit2bc95990571f82ddfc685fadff4847abff4362e3 (patch)
treea58e190c8fa759828c3ace3bfd5dff52aecd13be /pkg
parent9e2e69dd58f01005e088b55466e67c0eafc2a414 (diff)
downloadunit-2bc95990571f82ddfc685fadff4847abff4362e3.tar.gz
unit-2bc95990571f82ddfc685fadff4847abff4362e3.tar.bz2
Fixing zombie process appearance and hang up on shutdown.
After the c8790d2a89bb commit, the SIGCHLD handler may return before processing all awaiting PIDs. To avoid zombie processes and ensure successful main process termination, waitpid() must be called until an error is returned. This closes #600 issue on GitHub.
Diffstat (limited to 'pkg')
0 files changed, 0 insertions, 0 deletions