| 388 | } |
| 389 | |
| 390 | static void worker_note_child_killed(int childnum, pid_t pid, ap_generation_t gen) |
| 391 | { |
| 392 | if (childnum != -1) { /* child had a scoreboard slot? */ |
| 393 | ap_run_child_status(ap_server_conf, |
| 394 | ap_scoreboard_image->parent[childnum].pid, |
| 395 | ap_scoreboard_image->parent[childnum].generation, |
| 396 | childnum, MPM_CHILD_EXITED); |
| 397 | ap_scoreboard_image->parent[childnum].pid = 0; |
| 398 | } |
| 399 | else { |
| 400 | ap_run_child_status(ap_server_conf, pid, gen, -1, MPM_CHILD_EXITED); |
| 401 | } |
| 402 | } |
| 403 | |
| 404 | static void worker_note_child_started(int slot, pid_t pid) |
| 405 | { |
no outgoing calls
no test coverage detected