[zeromq-dev] zeromq2: problem with closing pollable socket

Martin Sustrik sustrik at fastmq.com
Fri Oct 23 11:22:14 CEST 2009


Vialy,

>     ctx = zmq_init (1, 1, ZMQ_POLL);
>     s = zmq_socket();
>     rc = zmq_bind();
>     zmq_poll(..., ZMQ_POLLOUT);
>     zmq_send(..., ZMQ_NOBLOCK);
>     zmq_close(); <-- blocks here forever

That's a bug. We'll have a look at it soon. Ticket ZMQII-22.

Martin



More information about the zeromq-dev mailing list