| 207 | } |
| 208 | |
| 209 | static void prefork_note_child_started(int slot, pid_t pid) |
| 210 | { |
| 211 | ap_generation_t gen = retained->mpm->my_generation; |
| 212 | ap_scoreboard_image->parent[slot].pid = pid; |
| 213 | ap_scoreboard_image->parent[slot].generation = gen; |
| 214 | ap_run_child_status(ap_server_conf, pid, gen, slot, MPM_CHILD_STARTED); |
| 215 | } |
| 216 | |
| 217 | /* a clean exit from a child with proper cleanup */ |
| 218 | static void clean_child_exit(int code) __attribute__ ((noreturn)); |