##// END OF EJS Templates
worker: kill workers after all zombie processes are reaped...
Yuya Nishihara -
r30424:f2d13eb8 default
parent child Browse files
Show More
@@ -119,9 +119,10 b' def _posixworker(ui, func, staticargs, a'
119 119 st = _exitstatus(st)
120 120 if st and not problem[0]:
121 121 problem[0] = st
122 killworkers()
123 122 def sigchldhandler(signum, frame):
124 123 waitforworkers(blocking=False)
124 if problem[0]:
125 killworkers()
125 126 oldchldhandler = signal.signal(signal.SIGCHLD, sigchldhandler)
126 127 for pargs in partition(args, workers):
127 128 pid = os.fork()
General Comments 0
You need to be logged in to leave comments. Login now