##// END OF EJS Templates
worker: stop using a separate thread waiting for children...
Jun Wu -
r30416:c27614f2 default
parent child Browse files
Show More
@@ -11,7 +11,6 b' import errno'
11 11 import os
12 12 import signal
13 13 import sys
14 import threading
15 14
16 15 from .i18n import _
17 16 from . import (
@@ -138,11 +137,9 b' def _posixworker(ui, func, staticargs, a'
138 137 pids.add(pid)
139 138 os.close(wfd)
140 139 fp = os.fdopen(rfd, 'rb', 0)
141 t = threading.Thread(target=waitforworkers)
142 t.start()
143 140 def cleanup():
144 141 signal.signal(signal.SIGINT, oldhandler)
145 t.join()
142 waitforworkers()
146 143 signal.signal(signal.SIGCHLD, oldchldhandler)
147 144 status = problem[0]
148 145 if status:
General Comments 0
You need to be logged in to leave comments. Login now