Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix bug with IOLoop's 'waker' pipe which rendered it ineffective on l…


and mac (where pipes are unidirectional) and caused high cpu usage
on solaris (where pipes are bidirectional).  Thanks to Jari Ahonen for
finding the bug.
  • Loading branch information...
commit d2ca9ad61850dd716ba07fb2a5c7636d1e0edbcb 1 parent 45f76c5
Ben Darnell authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tornado/
2  tornado/
@@ -99,7 +99,7 @@ def __init__(self, impl=None):
self._waker_reader = os.fdopen(r, "r", 0)
self._waker_writer = os.fdopen(w, "w", 0)
- self.add_handler(r, self._read_waker, self.WRITE)
+ self.add_handler(r, self._read_waker, self.READ)
def instance(cls):
Please sign in to comment.
Something went wrong with that request. Please try again.