##// END OF EJS Templates
worker: fix missed break on successful waitpid()...
Yuya Nishihara -
r30422:0e6ce631 default
parent child Browse files
Show More
@@ -102,6 +102,7 b' def _posixworker(ui, func, staticargs, a'
102 while True:
102 while True:
103 try:
103 try:
104 p, st = os.waitpid(pid, (0 if blocking else os.WNOHANG))
104 p, st = os.waitpid(pid, (0 if blocking else os.WNOHANG))
105 break
105 except OSError as e:
106 except OSError as e:
106 if e.errno == errno.EINTR:
107 if e.errno == errno.EINTR:
107 continue
108 continue
General Comments 0
You need to be logged in to leave comments. Login now