Bug in zmq_queue fixed

This commit is contained in:
Jon Dyte
2010-04-25 15:04:23 +02:00
committed by Martin Sustrik
parent d524c4e15d
commit 7d9603d722

View File

@@ -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);