mirror of
https://github.com/mirror/make.git
synced 2025-01-30 22:30:23 +08:00
Formerly job.c.~75~
This commit is contained in:
parent
a819615113
commit
7ab1580762
3
job.c
3
job.c
@ -585,7 +585,8 @@ start_job (child)
|
||||
{
|
||||
/* Wait for the load to be low enough if this
|
||||
is the first command in the sequence. */
|
||||
if (child->command_line - 1 == 0 && load_too_high ())
|
||||
if (child->command_line - 1 == 0
|
||||
&& job_slots_used > 0 && load_too_high ())
|
||||
{
|
||||
/* Put this child on the chain of children waiting
|
||||
for the load average to go down. */
|
||||
|
Loading…
Reference in New Issue
Block a user