diff options
| author | Chris Larson <chris_larson@mentor.com> | 2010-06-08 08:01:16 -0700 | 
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-02 15:41:35 +0100 | 
| commit | 4fac507dfb6aeb3b68dfa7f1945ff9132ad457d5 (patch) | |
| tree | c5889947c6910e1732fe4996c8b53f382338834b /bitbake/lib/bb/runqueue.py | |
| parent | 186f85746668b0dfa8d887248a1384db298af5f5 (diff) | |
| download | poky-4fac507dfb6aeb3b68dfa7f1945ff9132ad457d5.tar.gz | |
Don't tell the user we're sending SIGINT to the remaining 0 tasks
(Bitbake rev: 0b963e52eca0447d5bbfc87d826ad662fe940381)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
| -rw-r--r-- | bitbake/lib/bb/runqueue.py | 13 | 
1 files changed, 7 insertions, 6 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 6025142e08..a73e0c4a6a 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py  | |||
| @@ -1030,12 +1030,13 @@ class RunQueue: | |||
| 1030 | return | 1030 | return | 
| 1031 | 1031 | ||
| 1032 | def finish_runqueue_now(self): | 1032 | def finish_runqueue_now(self): | 
| 1033 | bb.msg.note(1, bb.msg.domain.RunQueue, "Sending SIGINT to remaining %s tasks" % self.stats.active) | 1033 | if self.stats.active: | 
| 1034 | for k, v in self.build_pids.iteritems(): | 1034 | bb.msg.note(1, bb.msg.domain.RunQueue, "Sending SIGINT to remaining %s tasks" % self.stats.active) | 
| 1035 | try: | 1035 | for k, v in self.build_pids.iteritems(): | 
| 1036 | os.kill(-k, signal.SIGINT) | 1036 | try: | 
| 1037 | except: | 1037 | os.kill(-k, signal.SIGINT) | 
| 1038 | pass | 1038 | except: | 
| 1039 | pass | ||
| 1039 | for pipe in self.build_pipes: | 1040 | for pipe in self.build_pipes: | 
| 1040 | self.build_pipes[pipe].read() | 1041 | self.build_pipes[pipe].read() | 
| 1041 | 1042 | ||
