start up a bunch of children */
| 2889 | |
| 2890 | /* start up a bunch of children */ |
| 2891 | static 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 | |
| 2906 | static void perform_idle_server_maintenance(int child_bucket, |
| 2907 | int *max_daemon_used) |
no test coverage detected