diff options
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-rw-r--r-- | bitbake/lib/bb/utils.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index 0832422683..694e79f552 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
@@ -12,7 +12,7 @@ import sys | |||
12 | import errno | 12 | import errno |
13 | import logging | 13 | import logging |
14 | import locale | 14 | import locale |
15 | import multiprocessing | 15 | from bb import multiprocessing |
16 | import importlib | 16 | import importlib |
17 | import importlib.machinery | 17 | import importlib.machinery |
18 | import importlib.util | 18 | import importlib.util |
@@ -1198,8 +1198,6 @@ def process_profilelog(fn, pout = None): | |||
1198 | # | 1198 | # |
1199 | def multiprocessingpool(*args, **kwargs): | 1199 | def multiprocessingpool(*args, **kwargs): |
1200 | 1200 | ||
1201 | import multiprocessing.pool | ||
1202 | #import multiprocessing.util | ||
1203 | #multiprocessing.util.log_to_stderr(10) | 1201 | #multiprocessing.util.log_to_stderr(10) |
1204 | # Deal with a multiprocessing bug where signals to the processes would be delayed until the work | 1202 | # Deal with a multiprocessing bug where signals to the processes would be delayed until the work |
1205 | # completes. Putting in a timeout means the signals (like SIGINT/SIGTERM) get processed. | 1203 | # completes. Putting in a timeout means the signals (like SIGINT/SIGTERM) get processed. |