Am 28.02.2011 09:18, schrieb Martin Sustrik: > 1. You call zmq_term() > 2. All currently blocking calls and any subsequent calls except for > zmq_close() return with ETERM > 3. You close the sockets
That's exactly how I did it. And yet zmq_term blocked forever (the call to recv in mailbox_t::recv never returns). Which was why I consulted the documentation which clearly says that calling zmq_term with sockets open might cause this very behaviour. Do I need to take special considerations regarding which thread calls zmq_init/zmq_term resp. zmq_open/zmq_close/zmq_send/zmq_recv? Christian _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
