summaryrefslogtreecommitdiff
path: root/devices
diff options
context:
space:
mode:
authorJon Dyte <jon@totient.co.uk>2010-04-25 15:04:23 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-04-25 15:04:23 +0200
commit7d9603d722c9c2752dccd0c51f470e68d0e0c48c (patch)
tree53a71b501c5f8150045276c91b9f2dc69444f409 /devices
parentd524c4e15d3cfa21f265d2c21e8a76ac97bfee2d (diff)
Bug in zmq_queue fixed
Diffstat (limited to 'devices')
-rw-r--r--devices/zmq_queue/zmq_queue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/zmq_queue/zmq_queue.cpp b/devices/zmq_queue/zmq_queue.cpp
index b488029..1507ecc 100644
--- a/devices/zmq_queue/zmq_queue.cpp
+++ b/devices/zmq_queue/zmq_queue.cpp
@@ -52,7 +52,7 @@ int main (int argc, char *argv [])
}
// TODO: make the number of I/O threads configurable.
- zmq::context_t ctx (1, 1);
+ zmq::context_t ctx (1, 1, ZMQ_POLL);
zmq::socket_t in_socket (ctx, ZMQ_XREP);
zmq::socket_t out_socket (ctx, ZMQ_XREQ);