Searched refs:child_pid2 (Results 1 – 1 of 1) sorted by relevance
72 pid_t parent_pid, child_pid1, child_pid2, child_pid3; variable166 if (child_pid2 > 0) in cleanup()167 kill(child_pid2, 9); in cleanup()400 waitpid(child_pid2, &child_stat, 0); in stop_children()401 child_pid2 = 0; in stop_children()423 if (child_pid2 != 0 && (kill(child_pid2, SIGKILL)) < 0) { in catch_alarm()488 if ((child_pid2 = fork()) == 0) { /* second child */ in main()501 } else if (child_pid2 < 0) { in main()557 if (do_test(&lock2, child_pid2)) { in main()613 do_test(&lock2, child_pid2); in main()