Skip to content

Instantly share code, notes, and snippets.

View minrk's full-sized avatar

Min RK minrk

View GitHub Profile
# override ioloop.IOLoop with zmq's IOLoop
import sys
import tornado.ioloop
from zmq.eventloop import ioloop
tornado.ioloop.IOLoop = ioloop.IOLoop
import trombi
loop = ioloop.IOLoop.instance()
# check that tornado's ioloop instance is actually zmq's
@minrk
minrk / zmq_cli.py
Created January 17, 2011 08:34 — forked from amacleod/zmq_cli.py
#!/usr/bin/python
"""
zmq_cli - 0MQ Server interruptability test case, client module.
"""
import zmq