Searched refs:pid2 (Results 1 – 2 of 2) sorted by relevance
78 pid_t pid2 = fork(); variable79 if (pid2 < 0) {84 if (pid2 == 0) { // child211 pid_t pid2 = fork(); variable212 ASSERT_TRUE(pid2 >= 0) << "======== Fork Error! =========";213 if (pid2 == 0) { // child2234 WaitProcExitedOK(pid2);
130 pid_t pid1, pid2; in SendAndRecvTest() local137 pid2 = fork(); in SendAndRecvTest()138 ASSERT_TRUE(pid2 >= 0) << "======== Fork2 Error! ========="; in SendAndRecvTest()139 if (pid2 == 0) { // child 2 in SendAndRecvTest()147 WaitProcExitedOK(pid2); in SendAndRecvTest()