Lines Matching refs:pid
48 int pid; in start_process_on() local
50 pid = fork(); in start_process_on()
51 if (pid == -1) { in start_process_on()
56 if (pid) in start_process_on()
88 pid_t pid = fork(); in bench_fork() local
89 if (pid == -1) { in bench_fork()
93 if (pid == 0) { in bench_fork()
98 pid = waitpid(pid, NULL, 0); in bench_fork()
99 if (pid == -1) { in bench_fork()
110 pid_t pid = vfork(); in bench_vfork() local
111 if (pid == -1) { in bench_vfork()
115 if (pid == 0) { in bench_vfork()
120 pid = waitpid(pid, NULL, 0); in bench_vfork()
121 if (pid == -1) { in bench_vfork()