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

Function startup_children

server/mpm/event/event.c:2891–2904  ·  view source on GitHub ↗

start up a bunch of children */

Source from the content-addressed store, hash-verified

2889
2890/* start up a bunch of children */
2891static void startup_children(int number_to_start)
2892{
2893 int i;
2894
2895 for (i = 0; number_to_start && i < server_limit; ++i) {
2896 if (ap_scoreboard_image->parent[i].pid != 0) {
2897 continue;
2898 }
2899 if (make_child(ap_server_conf, i, i % retained->mpm->num_buckets) < 0) {
2900 break;
2901 }
2902 --number_to_start;
2903 }
2904}
2905
2906static void perform_idle_server_maintenance(int child_bucket,
2907 int *max_daemon_used)

Callers 2

server_main_loopFunction · 0.70
event_runFunction · 0.70

Calls 1

make_childFunction · 0.70

Tested by

no test coverage detected