diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 427078df0b..938b999b4f 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -2067,8 +2067,9 @@ class Parser(multiprocessing.Process): | |||
2067 | 2067 | ||
2068 | jobid = None | 2068 | jobid = None |
2069 | try: | 2069 | try: |
2070 | jobid = self.jobid_queue.get(True, 0.5) | 2070 | # Have to wait for all parsers to have forked |
2071 | except (ValueError, OSError): | 2071 | jobid = self.jobid_queue.get(True, 5) |
2072 | except (ValueError, OSError, queue.Empty): | ||
2072 | havejobs = False | 2073 | havejobs = False |
2073 | 2074 | ||
2074 | if jobid is not None: | 2075 | if jobid is not None: |