Home | History | Annotate | Download | only in make-3.81

Lines Matching defs:pid

240 w32_kill(intptr_t pid, int sig)
242 return ((process_kill((HANDLE)pid, sig) == TRUE) ? 0 : -1);
477 pid_t pid;
522 DB (DB_JOBS, (_("Live child %p (%s) PID %ld %s\n"),
524 (long) c->pid, c->remote ? _(" (remote)") : ""));
532 pid = remote_status (&exit_code, &exit_sig, &coredump, 0);
534 pid = 0;
536 if (pid > 0)
539 else if (pid < 0)
553 pid = c->pid;
557 pid = WAIT_NOHANG (&status);
560 pid = wait (&status);
564 pid = 0;
566 if (pid < 0)
571 else if (pid > 0)
591 pid = remote_status (&exit_code, &exit_sig, &coredump, 1);
592 if (pid < 0)
594 else if (pid == 0)
605 pid = dos_pid - 1;
615 pid = amiga_pid - 1;
672 pid = (pid_t) hPID;
678 if (!remote && pid == shell_function_pid)
693 if (c->remote == remote && c->pid == pid)
702 ? _("Reaping losing child %p PID %ld %s\n")
703 : _("Reaping winning child 0x%08lx PID %ld %s\n"),
704 c, (long) c->pid,
806 DB (DB_JOBS, (_("Removing child %p PID %ld%s from chain.\n"),
807 c, (long) c->pid,
1208 child->pid = id;
1246 child->pid = child_execute_job (child->good_stdin ? 0 : bad_stdin, 1,
1248 if (child->pid < 0)
1267 child->pid = vfork ();
1269 if (child->pid == 0)
1287 else if (child->pid < 0)
1352 child->pid = dos_pid++;
1359 child->pid = amiga_pid++;
1384 child->pid = (intptr_t) hPID;
1461 DB (DB_JOBS, (_("Putting child %p (%s) PID %ld%s on the chain.\n"),
1463 (long) c->pid, c->remote ? _(" (remote)") : ""));
1902 /* EMX: Start a child process. This function returns the new pid. */
1907 int pid;
1939 pid = exec_command (argv, envp);
1958 return pid;
1990 /* EMX: This function returns the pid of the child process. */
2050 /* expect to find only last pid, warn about other pids reaped */
2055 _("make reaped child pid %lld, still waiting for pid %lld\n"),
2065 int pid;
2074 pid = spawnvpe (P_NOWAIT, argv[0], argv, envp);
2076 if (pid >= 0)
2077 return pid;
2147 pid = spawnvpe (P_NOWAIT, shell, new_argv, envp);
2148 if (pid >= 0)
2173 return pid;