Lines Matching refs:slot

154      * The max child slot ever assigned, preserved across restarts.  Necessary
390 if (childnum != -1) { /* child had a scoreboard slot? */
402 static void worker_note_child_started(int slot, pid_t pid)
404 ap_scoreboard_image->parent[slot].pid = pid;
406 ap_scoreboard_image->parent[slot].pid,
407 retained->my_generation, slot, MPM_CHILD_STARTED);
410 static void worker_note_child_lost_slot(int slot, pid_t newpid)
413 "pid %" APR_PID_T_FMT " taking over scoreboard slot from "
416 ap_scoreboard_image->parent[slot].pid,
417 ap_scoreboard_image->parent[slot].quiescing ?
420 ap_scoreboard_image->parent[slot].pid,
421 ap_scoreboard_image->parent[slot].generation,
422 slot, MPM_CHILD_LOST_SLOT);
427 ap_register_extra_mpm_process(ap_scoreboard_image->parent[slot].pid,
428 ap_scoreboard_image->parent[slot].generation);
446 worker_note_child_killed(/* slot */ 0, 0, 0);
1025 my_info->tid = -1; /* listener thread doesn't have a thread slot */
1402 static int make_child(server_rec *s, int slot, int bucket)
1406 if (slot + 1 > retained->max_daemons_limit) {
1407 retained->max_daemons_limit = slot + 1;
1414 worker_note_child_started(slot, getpid());
1415 child_main(slot, 0);
1456 child_main(slot, bucket);
1462 if (ap_scoreboard_image->parent[slot].pid != 0) {
1467 worker_note_child_lost_slot(slot, pid);
1469 ap_scoreboard_image->parent[slot].quiescing = 0;
1470 ap_scoreboard_image->parent[slot].bucket = bucket;
1471 worker_note_child_started(slot, pid);
1560 && (!ps->pid /* no process in the slot */
1564 * start more threads sooner. So prioritize this slot
1567 * first, make room by moving a slot that's potentially still
1574 /* slot is still in use - back of the bus
1772 /* Great, we've probably just lost a slot in the