##// END OF EJS Templates
commandserver: rename _serveworker() to _runworker()...
Yuya Nishihara -
r29587:536eec44 default
parent child Browse files
Show More
@@ -484,7 +484,7 b' class unixforkingservice(object):'
484 conn.close() # release handle in parent process
484 conn.close() # release handle in parent process
485 else:
485 else:
486 try:
486 try:
487 self._serveworker(conn)
487 self._runworker(conn)
488 conn.close()
488 conn.close()
489 os._exit(0)
489 os._exit(0)
490 except: # never return, hence no re-raises
490 except: # never return, hence no re-raises
@@ -514,7 +514,7 b' class unixforkingservice(object):'
514 self.ui.debug('worker process exited (pid=%d)\n' % pid)
514 self.ui.debug('worker process exited (pid=%d)\n' % pid)
515 self._workerpids.discard(pid)
515 self._workerpids.discard(pid)
516
516
517 def _serveworker(self, conn):
517 def _runworker(self, conn):
518 signal.signal(signal.SIGCHLD, self._oldsigchldhandler)
518 signal.signal(signal.SIGCHLD, self._oldsigchldhandler)
519 _initworkerprocess()
519 _initworkerprocess()
520 h = self._servicehandler
520 h = self._servicehandler
General Comments 0
You need to be logged in to leave comments. Login now