Lines Matching refs:slot
362 * The max child slot ever assigned, preserved across restarts. Necessary
604 if (childnum != -1) { /* child had a scoreboard slot? */
616 static void event_note_child_started(int slot, pid_t pid)
618 ap_scoreboard_image->parent[slot].pid = pid;
620 ap_scoreboard_image->parent[slot].pid,
621 retained->my_generation, slot, MPM_CHILD_STARTED);
624 static void event_note_child_lost_slot(int slot, pid_t newpid)
627 "pid %" APR_PID_T_FMT " taking over scoreboard slot from "
630 ap_scoreboard_image->parent[slot].pid,
631 ap_scoreboard_image->parent[slot].quiescing ?
634 ap_scoreboard_image->parent[slot].pid,
635 ap_scoreboard_image->parent[slot].generation,
636 slot, MPM_CHILD_LOST_SLOT);
641 ap_register_extra_mpm_process(ap_scoreboard_image->parent[slot].pid,
642 ap_scoreboard_image->parent[slot].generation);
660 event_note_child_killed(/* slot */ 0, 0, 0);
2262 my_info->tid = -1; /* listener thread doesn't have a thread slot */
2673 static int make_child(server_rec * s, int slot, int bucket)
2677 if (slot + 1 > retained->max_daemons_limit) {
2678 retained->max_daemons_limit = slot + 1;
2685 event_note_child_started(slot, getpid());
2686 child_main(slot, 0);
2728 child_main(slot, bucket);
2734 if (ap_scoreboard_image->parent[slot].pid != 0) {
2739 event_note_child_lost_slot(slot, pid);
2741 ap_scoreboard_image->parent[slot].quiescing = 0;
2742 ap_scoreboard_image->parent[slot].not_accepting = 0;
2743 ap_scoreboard_image->parent[slot].bucket = bucket;
2744 event_note_child_started(slot, pid);
2835 && (!ps->pid /* no process in the slot */
2839 * start more threads sooner. So prioritize this slot
2842 * first, make room by moving a slot that's potentially still
2849 /* slot is still in use - back of the bus
3035 /* Great, we've probably just lost a slot in the