]> git.ipfire.org Git - thirdparty/tornado.git/commit
Add make_current keyword argument to IOLoop constructor.
authorBen Darnell <ben@bendarnell.com>
Sun, 29 Mar 2015 20:22:26 +0000 (16:22 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 29 Mar 2015 20:31:06 +0000 (16:31 -0400)
commit4f86890cfad97ac9e3ef2c06bb313f7f4deb6d3b
tree7579e0dd1d195308219cc05fa4a6436c907eb926
parent91f3f0fe1f95bf032c1b258da21900988cb92153
Add make_current keyword argument to IOLoop constructor.

This allows applications to create an IOLoop to be started in another
thread without making it current in the originating thread.

Update docs to use IOLoop.current() in place of IOLoop.instance() when
starting the loop.

Closes #1390.
20 files changed:
demos/benchmark/chunk_benchmark.py
demos/blog/blog.py
demos/chat/chatdemo.py
demos/facebook/facebook.py
demos/helloworld/helloworld.py
demos/s3server/s3server.py
demos/twitter/twitterdemo.py
demos/websocket/chatdemo.py
docs/asyncio.rst
docs/index.rst
docs/twisted.rst
tornado/httpclient.py
tornado/httpserver.py
tornado/ioloop.py
tornado/iostream.py
tornado/platform/twisted.py
tornado/tcpserver.py
tornado/test/process_test.py
tornado/web.py
tornado/wsgi.py