mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-02-06 06:26:52 +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. */
|
/* Check for recently deceased descendants. */
|
||||||
reap_children (0, 0);
|
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. */
|
/* We have started all the jobs we can at the moment. */
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue