diff options
Diffstat (limited to 'src/engine/SCons/Job.py')
-rw-r--r-- | src/engine/SCons/Job.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/engine/SCons/Job.py b/src/engine/SCons/Job.py index 4e79166..17315fc 100644 --- a/src/engine/SCons/Job.py +++ b/src/engine/SCons/Job.py @@ -249,9 +249,12 @@ class Parallel: self.taskmaster.failed(task) else: self.taskmaster.executed(task) - - if not self.taskmaster.is_blocked(): - cv.notifyAll() + + # signal the cv whether the task failed or not, + # or otherwise the other Jobs might + # remain blocked: + if not self.taskmaster.is_blocked(): + cv.notifyAll() finally: cv.release() |