Commit 7d9603d7 authored by Jon Dyte's avatar Jon Dyte Committed by Martin Sustrik

Bug in zmq_queue fixed

parent d524c4e1
...@@ -52,7 +52,7 @@ int main (int argc, char *argv []) ...@@ -52,7 +52,7 @@ int main (int argc, char *argv [])
} }
// TODO: make the number of I/O threads configurable. // 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 in_socket (ctx, ZMQ_XREP);
zmq::socket_t out_socket (ctx, ZMQ_XREQ); zmq::socket_t out_socket (ctx, ZMQ_XREQ);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment