Error happen python3.6 while using tornado in multi threading
问题 I just simply use the tornado application together with threading as the following code: def MakeApp(): return tornado.web.Application([(r"/websocket", EchoWebSocket), ]) def run_tornado_websocket(): app = MakeApp() http_server = tornado.httpserver.HTTPServer(app, ssl_options={ "certfile": os.path.join(os.path.abspath("."), "server.crt"), "keyfile": os.path.join(os.path.abspath("."), "server_no_passwd.key"), }) http_server.listen(options.port) tornado.ioloop.IOLoop.current().start() if __name