Searched refs:job_fds (Results 1 – 3 of 3) sorted by relevance
/ndk/sources/host-tools/make-3.81/ |
D | main.c | 230 int job_fds[2] = { -1, -1 }; variable 1662 if (sscanf (cp, "%d,%d", &job_fds[0], &job_fds[1]) != 2) in main() 1681 else if ((job_rfd = dup (job_fds[0])) < 0) in main() 1693 close (job_fds[0]); in main() 1694 close (job_fds[1]); in main() 1695 job_fds[0] = job_fds[1] = -1; in main() 1709 if (pipe (job_fds) < 0 || (job_rfd = dup (job_fds[0])) < 0) in main() 1723 EINTRLOOP (r, write (job_fds[1], &c, 1)); in main() 1735 sprintf (jobserver_fds->list[0], "%d,%d", job_fds[0], job_fds[1]); in main() 2991 if (job_fds[0] != -1 && jobserver_tokens) in clean_jobserver() [all …]
|
D | job.c | 853 if (job_fds[1] >= 0 && jobserver_tokens > 1) in free_child() 860 EINTRLOOP (r, write (job_fds[1], &token, 1)); in free_child() 1231 if (!(flags & COMMANDS_RECURSE) && job_fds[0] >= 0) in start_job_command() 1233 CLOSE_ON_EXEC (job_fds[0]); in start_job_command() 1234 CLOSE_ON_EXEC (job_fds[1]); in start_job_command() 1251 if (!(flags & COMMANDS_RECURSE) && job_fds[0] >= 0) in start_job_command() 1253 fcntl (job_fds[0], F_SETFD, 0); in start_job_command() 1254 fcntl (job_fds[1], F_SETFD, 0); in start_job_command() 1270 if (!(flags & COMMANDS_RECURSE) && job_fds[0] >= 0) in start_job_command() 1272 close (job_fds[0]); in start_job_command() [all …]
|
D | make.h | 515 extern int job_fds[2];
|