mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-27 23:06:54 +00:00
Formerly job.c.~75~
This commit is contained in:
parent
a819615113
commit
7ab1580762
1 changed files with 2 additions and 1 deletions
3
job.c
3
job.c
|
@ -585,7 +585,8 @@ start_job (child)
|
||||||
{
|
{
|
||||||
/* Wait for the load to be low enough if this
|
/* Wait for the load to be low enough if this
|
||||||
is the first command in the sequence. */
|
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
|
/* Put this child on the chain of children waiting
|
||||||
for the load average to go down. */
|
for the load average to go down. */
|
||||||
|
|
Loading…
Reference in a new issue