Use add_callback_from_signal in benchmark.py's sigchld handler.

This would manifest as an occasional deadlock when an 'ab' process
finished.
This commit is contained in:
Ben Darnell 2014-04-19 18:51:36 -04:00
parent 18cfb371d4
commit e239a8a736
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class RootHandler(RequestHandler):
pass
def handle_sigchld(sig, frame):
IOLoop.instance().add_callback(IOLoop.instance().stop)
IOLoop.instance().add_callback_from_signal(IOLoop.instance().stop)
def main():
parse_command_line()