Searched refs:jobserver_tokens (Results 1 – 4 of 4) sorted by relevance
103 extern unsigned int jobserver_tokens;
231 unsigned int jobserver_tokens = 0; variable846 if (!jobserver_tokens) in free_child()853 if (job_fds[1] >= 0 && jobserver_tokens > 1) in free_child()868 --jobserver_tokens; in free_child()1651 if (!jobserver_tokens) in new_job()1692 if (!jobserver_tokens) in new_job()1724 ++jobserver_tokens; in new_job()
2991 if (job_fds[0] != -1 && jobserver_tokens) in clean_jobserver()2996 jobserver_tokens); in clean_jobserver()2998 while (jobserver_tokens--) in clean_jobserver()
803 * job.c, job.h: Add variable jobserver_tokens: counts the tokens806 (new_job): Check jobserver_tokens rather than children &&807 waiting_jobs. Increment jobserver_tokens when we get one.808 (free_child): If jobserver_tokens is 0, internal error. If it's810 token for the "free" job). Decrement jobserver_tokens.815 (die): Sanity checks: first test jobserver_tokens to make sure