diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-15 23:20:54 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-15 23:20:54 +0000 |
commit | 974ea1a190167dcfd831ba1fc5f733e0dc9a6fda (patch) | |
tree | 9cd0dc9892c36f1d7306a49f41d9e487096cd40b | |
parent | 5a178b547bbf6d99c42cba6821b3f559e585a079 (diff) | |
download | openembedded-core-974ea1a190167dcfd831ba1fc5f733e0dc9a6fda.tar.gz openembedded-core-974ea1a190167dcfd831ba1fc5f733e0dc9a6fda.tar.bz2 openembedded-core-974ea1a190167dcfd831ba1fc5f733e0dc9a6fda.tar.xz openembedded-core-974ea1a190167dcfd831ba1fc5f733e0dc9a6fda.zip |
bitbake/runqueue: When we successfully fork off a task and there are more processes we can start do so immediately
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 4e8b34d0b..572b87227 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -1305,6 +1305,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() |