Created
August 26, 2012 18:04
-
-
Save michelp/3482166 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _run(self): | |
try: | |
gevent.joinall([gevent.spawn(j) for j in | |
(self._read_sub, self._read_router, self._send_pub)]) | |
finally: | |
self.context.term() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment