summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-01-19 00:32:39 +0000
committerRoland McGrath <roland@redhat.com>1993-01-19 00:32:39 +0000
commit44078a3441c54436868a0dced0cee5b7b8a26e48 (patch)
tree1c2b0df951dbecb21ec6fc7a9d703d480032770c /job.c
parentce25808caa98e772d12ff9056159d6349b68b818 (diff)
downloadgunmake-44078a3441c54436868a0dced0cee5b7b8a26e48.tar.gz
Formerly job.c.~90~
Diffstat (limited to 'job.c')
-rw-r--r--job.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/job.c b/job.c
index a841366..816a217 100644
--- a/job.c
+++ b/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;