Lines Matching refs:pid
53 result.pid = xfork (); in support_subprocess()
54 if (result.pid == 0) in support_subprocess()
87 result.pid = xposix_spawn (file, &fa, NULL, argv, environ); in support_subprogram()
103 res.pid = xposix_spawn (file, &fa, NULL, argv, environ); in support_subprogram_wait()
115 xwaitpid (proc->pid, &status, 0); in support_process_wait()
121 support_process_kill (int pid, int signo, int *status) in support_process_kill() argument
124 kill (-pid, signo); in support_process_kill()
126 kill (pid, signo); in support_process_kill()
133 killed = xwaitpid (pid, &status, WNOHANG|WUNTRACED); in support_process_kill()
143 if (killed != 0 && killed != pid) in support_process_kill()
156 pid_t killed = xwaitpid (proc->pid, &status, WNOHANG|WUNTRACED); in support_process_terminate()
157 if (killed != 0 && killed == proc->pid) in support_process_terminate()
161 if (!support_process_kill (proc->pid, SIGTERM, &status) ) in support_process_terminate()
162 support_process_kill (proc->pid, SIGKILL, &status); in support_process_terminate()