Lines Matching refs:childPid_
94 childPid_ = pid;
176 if (childPid_ != -1) {
178 pid_t pid = waitpid(childPid_, &wstatus, WNOHANG);
181 } else { // pid == childPid_ or pid == -1
182 childPid_ = -1;
192 if (childPid_ != -1) {
195 pid_t pid = waitpid(childPid_, &wstatus, WNOHANG);
196 if (pid != childPid_) {
197 kill(childPid_, SIGKILL);
199 childPid_ = -1;