mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 12:18:04 +01:00
Bug in zmq_queue fixed
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user