Commit 69266555 authored by Ruslan Valiullin's avatar Ruslan Valiullin Committed by Cesanta Bot

add to cgi doc note about zombies

PUBLISHED_FROM=fb1796f11a595befd160bd5ab1088b6e39f16757
parent 8354319e
...@@ -29,3 +29,7 @@ Example: ...@@ -29,3 +29,7 @@ Example:
```c ```c
opts.cgi_interpreter = "C:\\ruby\\ruby.exe"; opts.cgi_interpreter = "C:\\ruby\\ruby.exe";
``` ```
NOTE: In the CGI handler we don't use explicitly a system call waitpid() for
reaping zombie processes. Instead, we set the SIGCHLD handler to SIG_IGN.
It will cause zombie processes to be reaped automatically.
CAUTION: not all OSes (e.g. QNX) reap zombies if SIGCHLD is ignored.
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment