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

Function startup_children

server/mpm/prefork/prefork.c:783–796  ·  view source on GitHub ↗

start up a bunch of children */

Source from the content-addressed store, hash-verified

781
782/* start up a bunch of children */
783static void startup_children(int number_to_start)
784{
785 int i;
786
787 for (i = 0; number_to_start && i < ap_daemons_limit; ++i) {
788 if (ap_scoreboard_image->servers[i][0].status != SERVER_DEAD) {
789 continue;
790 }
791 if (make_child(ap_server_conf, i) < 0) {
792 break;
793 }
794 --number_to_start;
795 }
796}
797
798static void perform_idle_server_maintenance(apr_pool_t *p)
799{

Callers 1

prefork_runFunction · 0.70

Calls 1

make_childFunction · 0.50

Tested by

no test coverage detected