From: Richard Purdie Date: Tue, 15 Feb 2011 23:20:54 +0000 (+0000) Subject: bitbake/runqueue: When we successfully fork off a task and there are more processes... X-Git-Tag: 2011-1~2344 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=974ea1a190167dcfd831ba1fc5f733e0dc9a6fda;p=openembedded-core.git 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 --- diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 4e8b34d0bb..572b872276 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()