| 8121 | } |
| 8122 | |
| 8123 | void ModuleForkDoneHandler(int exitcode, int bysignal) { |
| 8124 | serverLog(LL_NOTICE, |
| 8125 | "Module fork exited pid: %ld, retcode: %d, bysignal: %d", |
| 8126 | (long) g_pserver->child_pid, exitcode, bysignal); |
| 8127 | if (moduleForkInfo.done_handler) { |
| 8128 | moduleForkInfo.done_handler(exitcode, bysignal, |
| 8129 | moduleForkInfo.done_handler_user_data); |
| 8130 | } |
| 8131 | moduleForkInfo.done_handler = NULL; |
| 8132 | moduleForkInfo.done_handler_user_data = NULL; |
| 8133 | } |
| 8134 | |
| 8135 | /* -------------------------------------------------------------------------- |
| 8136 | * ## Server hooks implementation |
no test coverage detected