mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-27 06:27:57 +00:00
Formerly job.c.~90~
This commit is contained in:
parent
ce25808caa
commit
44078a3441
1 changed files with 2 additions and 1 deletions
3
job.c
3
job.c
|
@ -784,7 +784,8 @@ start_waiting_jobs ()
|
|||
/* Check for recently deceased descendants. */
|
||||
reap_children (0, 0);
|
||||
|
||||
if (job_slots_used > 0 && load_too_high ())
|
||||
if (job_slots_used > 0
|
||||
&& (job_slots_used == job_slots || load_too_high ()))
|
||||
/* We have started all the jobs we can at the moment. */
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue