From 974ea1a190167dcfd831ba1fc5f733e0dc9a6fda Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 15 Feb 2011 23:20:54 +0000 Subject: 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 --- bitbake/lib/bb/runqueue.py | 2 ++ 1 file changed, 2 insertions(+) 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() -- cgit v1.2.3