Ignoring SIGCHLD to let OS reap the zombies.

This commit is contained in:
valenok committed 2011-06-22 00:45:08 +01:00
1 parent 9e524a2fce
commit 8942a4cdad
2 files changed
+7 -3

No files matched your search

+5
View File
@@ -88,6 +88,11 @@ typedef void * (*mg_callback_t)(enum mg_event event,
// options: NULL terminated list of option_name, option_value pairs that
// specify Mongoose configuration parameters.
//
// Side-effects: on UNIX, ignores SIGCHLD and SIGPIPE signals. If custom
// processing is required for these, signal handlers must be set up
// after calling mg_start().
//
//
// Example:
// const char *options[] = {
// "document_root", "/var/www",