diff options
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
| -rw-r--r-- | bitbake/lib/bb/runqueue.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 7d1f48aee2..8a88fe026d 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
| @@ -748,9 +748,6 @@ class RunQueueData: | |||
| 748 | self.rqdata.runq_depends[task], | 748 | self.rqdata.runq_depends[task], |
| 749 | self.rqdata.runq_revdeps[task]) | 749 | self.rqdata.runq_revdeps[task]) |
| 750 | 750 | ||
| 751 | # Dummy signal handler to ensure we break out of sleep upon SIGCHLD | ||
| 752 | def chldhandler(signum, stackframe): | ||
| 753 | pass | ||
| 754 | 751 | ||
| 755 | class RunQueue: | 752 | class RunQueue: |
| 756 | def __init__(self, cooker, cfgData, dataCache, taskData, targets): | 753 | def __init__(self, cooker, cfgData, dataCache, taskData, targets): |
| @@ -764,8 +761,6 @@ class RunQueue: | |||
| 764 | 761 | ||
| 765 | self.state = runQueuePrepare | 762 | self.state = runQueuePrepare |
| 766 | 763 | ||
| 767 | signal.signal(signal.SIGCHLD, chldhandler) | ||
| 768 | |||
| 769 | def check_stamps(self): | 764 | def check_stamps(self): |
| 770 | unchecked = {} | 765 | unchecked = {} |
| 771 | current = [] | 766 | current = [] |
| @@ -1107,8 +1102,6 @@ class RunQueueExecute: | |||
| 1107 | # themselves | 1102 | # themselves |
| 1108 | bblogger.handlers = [bb.event.LogHandler()] | 1103 | bblogger.handlers = [bb.event.LogHandler()] |
| 1109 | 1104 | ||
| 1110 | signal.signal(signal.SIGCHLD, signal.SIG_DFL) | ||
| 1111 | |||
| 1112 | self.rq.state = runQueueChildProcess | 1105 | self.rq.state = runQueueChildProcess |
| 1113 | # Make the child the process group leader | 1106 | # Make the child the process group leader |
| 1114 | os.setpgid(0, 0) | 1107 | os.setpgid(0, 0) |
