Lines Matching defs:pid
138 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
165 * GprofDir $RuntimeDir/% -> $ServerRoot/$RuntimeDir/gprof.$pid/gmon.out
202 static void prefork_note_child_killed(int childnum, pid_t pid,
207 ap_scoreboard_image->parent[childnum].pid,
210 ap_scoreboard_image->parent[childnum].pid = 0;
213 static void prefork_note_child_started(int slot, pid_t pid)
215 ap_scoreboard_image->parent[slot].pid = pid;
217 ap_scoreboard_image->parent[slot].pid,
755 int pid;
783 if ((pid = os_fork(ap_unixd_config.user_name)) == -1) {
785 if ((pid = fork()) == -1) {
804 if (!pid) {
840 prefork_note_child_started(slot, pid);
1053 apr_proc_t pid;
1055 ap_wait_or_timeout(&exitwhy, &status, &pid, pconf, ap_server_conf);
1061 if (pid.pid != -1) {
1062 processed_status = ap_process_child_status(&pid, exitwhy, status);
1063 child_slot = ap_find_child_by_pid(&pid);
1079 "generation (pid %ld).",
1080 (long)pid.pid);
1106 else if (apr_proc_other_child_alert(&pid, APR_OC_REASON_DEATH, status) == APR_SUCCESS) {
1117 "long lost child came home! (pid %ld)", (long)pid.pid);
1155 /* cleanup pid file on normal shutdown */
1191 /* cleanup pid file */
1269 ap_mpm_safe_kill(ap_scoreboard_image->parent[index].pid, AP_SIG_GRACEFUL);