MCPcopy Create free account
hub / github.com/apache/httpd / worker_note_child_killed

Function worker_note_child_killed

server/mpm/worker/worker.c:390–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390static 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
404static void worker_note_child_started(int slot, pid_t pid)
405{

Callers 2

clean_child_exitFunction · 0.85
server_main_loopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected