aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_process.c')
-rw-r--r--src/os/unix/ngx_process.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/os/unix/ngx_process.c b/src/os/unix/ngx_process.c
index a1454b6fd..9bd78f78e 100644
--- a/src/os/unix/ngx_process.c
+++ b/src/os/unix/ngx_process.c
@@ -444,10 +444,14 @@ ngx_process_get_status(void)
return;
}
-#if (NGX_SOLARIS)
+#if (NGX_SOLARIS || NGX_FREEBSD)
/*
* Solaris always calls the signal handler for each exited process
+ * despite waitpid() may be already called for this process.
+ *
+ * When several processes exit at the same time FreeBSD may
+ * erroneously call the signal handler for exited process
* despite waitpid() may be already called for this process
*/