start up a bunch of children */
| 1383 | |
| 1384 | /* start up a bunch of children */ |
| 1385 | static void startup_children(int number_to_start) |
| 1386 | { |
| 1387 | int i; |
| 1388 | |
| 1389 | for (i = 0; number_to_start && i < ap_daemons_limit; ++i) { |
| 1390 | if (ap_scoreboard_image->parent[i].pid != 0) { |
| 1391 | continue; |
| 1392 | } |
| 1393 | if (make_child(ap_server_conf, i, i % retained->mpm->num_buckets) < 0) { |
| 1394 | break; |
| 1395 | } |
| 1396 | --number_to_start; |
| 1397 | } |
| 1398 | } |
| 1399 | |
| 1400 | static void perform_idle_server_maintenance(int child_bucket) |
| 1401 | { |
no test coverage detected