mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
bitbake: fixup
(Bitbake rev: eb5a0f578a50f928f52b70de84a5cf67a657b249) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
51778eeba1
commit
1abfc338b8
|
@ -2171,9 +2171,6 @@ class CookerParser(object):
|
|||
self.parser_quit = multiprocessing.Event()
|
||||
self.result_queue = multiprocessing.Queue()
|
||||
|
||||
for jobid in range(len(self.willparse)):
|
||||
self.toparse_queue.put(jobid)
|
||||
|
||||
# Have to pass in willparse at fork time so all parsing processes have the unpickleable data
|
||||
# then access it by index from the parse queue.
|
||||
for i in range(0, self.num_processes):
|
||||
|
@ -2182,6 +2179,8 @@ class CookerParser(object):
|
|||
self.process_names.append(parser.name)
|
||||
self.processes.append(parser)
|
||||
|
||||
for jobid in range(len(self.willparse)):
|
||||
self.toparse_queue.put(jobid)
|
||||
self.toparse_queue.close()
|
||||
|
||||
self.results = itertools.chain(self.results, self.parse_generator())
|
||||
|
|
Loading…
Reference in New Issue
Block a user