[zeromq-dev] How should sockets be destroyed?

Olaf Mandel o.mandel at menlosystems.com
Mon Feb 24 12:23:36 CET 2014

Am 24.02.2014 12:12, schrieb Olaf Mandel:
>     for(i=0; i<10000; ++i) { /*...*/ }


I noticed a second, possibly related issue: when reducing number of loop
iterations (even down to a single iteration!), the call to
zmq_ctx_destroy() fails. In zmq::pipe_t::check_write() a check is made
if the socket state is "active", but it is "waiting_for_delimiter".

Best regards,
Olaf Mandel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140224/c5f03c8f/attachment.sig>

More information about the zeromq-dev mailing list