diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index a3f444c2a..1d38032e6 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -748,6 +748,10 @@ class RunQueueData: self.rqdata.runq_depends[task], self.rqdata.runq_revdeps[task]) +# Dummy signal handler to ensure we break out of sleep upon SIGCHLD +def chldhandler(signum, stackframe): + pass + class RunQueue: def __init__(self, cooker, cfgData, dataCache, taskData, targets): @@ -760,6 +764,8 @@ class RunQueue: self.state = runQueuePrepare + signal.signal(signal.SIGCHLD, chldhandler) + def check_stamps(self): unchecked = {} current = [] |