diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-15 23:20:54 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 11:48:55 +0100 |
commit | 088d7607e6ab06c7adbace0f36fe44b2dd4df483 (patch) | |
tree | edebef10f859bb4921b44a1859314ad0ccdaca15 /lib/bb | |
parent | 1dfeb84f7d6f758eb9eb8311fa1083c7d736d018 (diff) | |
download | bitbake-088d7607e6ab06c7adbace0f36fe44b2dd4df483.tar.gz |
bitbake/runqueue: When we successfully fork off a task and there are more processes we can start do so immediately
(From Poky rev: 974ea1a190167dcfd831ba1fc5f733e0dc9a6fda)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb')
-rw-r--r-- | lib/bb/runqueue.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 1483bda42..3f3b36b89 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -1316,6 +1316,8 @@ class RunQueueExecuteTasks(RunQueueExecute): self.build_pipes[pid] = runQueuePipe(pipein, pipeout, self.cfgData) self.runq_running[task] = 1 self.stats.taskActive() + if self.stats.active < self.number_tasks: + return True for pipe in self.build_pipes: self.build_pipes[pipe].read() |