add to cgi doc note about zombies

PUBLISHED_FROM=fb1796f11a595befd160bd5ab1088b6e39f16757
This commit is contained in:
Ruslan Valiullin authored and Cesanta Bot committed 2017-04-15 06:44:43 +00:00
1 parent 8354319e72
commit 6926655513
1 file changed
+4
+4
View File
@@ -29,3 +29,7 @@ Example:
```c
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.