diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index e88ad24cf6..93707a250e 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -2174,6 +2174,8 @@ class CookerParser(object): | |||
2174 | for jobid in range(len(self.willparse)): | 2174 | for jobid in range(len(self.willparse)): |
2175 | self.toparse_queue.put(jobid) | 2175 | self.toparse_queue.put(jobid) |
2176 | 2176 | ||
2177 | # Have to pass in willparse at fork time so all parsing processes have the unpickleable data | ||
2178 | # then access it by index from the parse queue. | ||
2177 | for i in range(0, self.num_processes): | 2179 | for i in range(0, self.num_processes): |
2178 | parser = Parser(self.willparse, self.toparse_queue, self.result_queue, self.parser_quit, self.cooker.configuration.profile) | 2180 | parser = Parser(self.willparse, self.toparse_queue, self.result_queue, self.parser_quit, self.cooker.configuration.profile) |
2179 | parser.start() | 2181 | parser.start() |