mirror of
https://github.com/mirror/make.git
synced 2025-01-03 00:40:34 +08:00
Formerly job.c.~90~
This commit is contained in:
parent
ce25808caa
commit
44078a3441
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 New Issue
Block a user