Lines Matching full:pid
75 pid_t pid = fork(); in Spawn() local
76 if (!pid) { in Spawn()
85 } else if (pid > 0) { in Spawn()
90 optionsInfo_->pid = pid; in Spawn()
123 waitpid(optionsInfo_->pid, &status, 0); in Wait()
210 NAPI_CALL(env, napi_create_int32(env, optionsInfo_->pid, &result)); in Getpid()
246 stdOutInfo_->pid = optionsInfo_->pid; in CreateWorker()
261 stdErrInfo_->pid = optionsInfo_->pid; in CreateWorker()
282 if (!kill(stdOutInfo->pid, SIGKILL)) { in ReadStdOut()
317 if (!kill(stdErrInfo->pid, SIGKILL)) { in ReadStdErr()
369 if (!kill(optionsInfo_->pid, signal)) { in Kill()
385 if (isWait_ && !(waitpid(optionsInfo_->pid, &status, WNOHANG)) && isNeedRun_) { in Close()
386 if (!kill(optionsInfo_->pid, SIGKILL)) { in Close()
387 waitpid(optionsInfo_->pid, &status, 0); in Close()
405 if (!kill(temp->pid, temp->killSignal)) { in TimeoutListener()
474 waitpid(optionsInfo_->pid, &status, 0); in ~ChildProcess()