Lines Matching defs:child1
40 pid_t child1, child2, wpid;
49 SYSCALL_REQUIRE((child1 = fork()) != -1);
50 if (child1 == 0) {
58 CHILD_FROM_PARENT("exit child1", parent_child, msg);
71 DPRINTF("Parent process PID=%d, child1's PID=%d\n", getpid(), child1);
75 wpid = TWAIT_GENERIC(child1, &status, WEXITED), child1);
79 DPRINTF("Notify that child1 is dead\n");
80 PARENT_TO_CHILD("exit child1", parent_child, msg);