[zeromq-dev] zmq_close() semantics and handling outstanding messages
Pieter Hintjens
ph at imatix.com
Wed Jul 7 09:41:09 CEST 2010
On Wed, Jul 7, 2010 at 9:35 AM, Pieter Hintjens <ph at imatix.com> wrote:
> Does anyone see problems with this approach?
Sorry, for some reason Mato's original email slipped past me...
Mato, +1 on making zmq_term a blocking call. I'd probably make
zmq_close a blocking call as well, and offer a socket option to
disable this per socket.
Do we have use cases for applications that need to kill 0MQ right
away? I'd suggest that this can be done e.g. by destroying the
context and not calling zmq_term().
-Pieter
More information about the zeromq-dev
mailing list