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 /bitbake/lib/bb/runqueue.py | |
| parent | 5a178b547bbf6d99c42cba6821b3f559e585a079 (diff) | |
| download | poky-974ea1a190167dcfd831ba1fc5f733e0dc9a6fda.tar.gz | |
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>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
| -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 4e8b34d0bb..572b872276 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
| @@ -1305,6 +1305,8 @@ class RunQueueExecuteTasks(RunQueueExecute): | |||
| 1305 | self.build_pipes[pid] = runQueuePipe(pipein, pipeout, self.cfgData) | 1305 | self.build_pipes[pid] = runQueuePipe(pipein, pipeout, self.cfgData) |
| 1306 | self.runq_running[task] = 1 | 1306 | self.runq_running[task] = 1 |
| 1307 | self.stats.taskActive() | 1307 | self.stats.taskActive() |
| 1308 | if self.stats.active < self.number_tasks: | ||
| 1309 | return True | ||
| 1308 | 1310 | ||
| 1309 | for pipe in self.build_pipes: | 1311 | for pipe in self.build_pipes: |
| 1310 | self.build_pipes[pipe].read() | 1312 | self.build_pipes[pipe].read() |
