| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import Queue | 5 import Queue |
| 6 import glob | 6 import glob |
| 7 import logging | 7 import logging |
| 8 import multiprocessing | 8 import multiprocessing |
| 9 import re | 9 import re |
| 10 import signal | 10 import signal |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 except ResultStageAbort: | 239 except ResultStageAbort: |
| 240 pass | 240 pass |
| 241 | 241 |
| 242 for p in procs: | 242 for p in procs: |
| 243 p.join() | 243 p.join() |
| 244 | 244 |
| 245 if not kill_switch.is_set() and not result_queue.empty(): | 245 if not kill_switch.is_set() and not result_queue.empty(): |
| 246 error = True | 246 error = True |
| 247 | 247 |
| 248 return error, kill_switch.is_set() | 248 return error, kill_switch.is_set() |
| OLD | NEW |