[zeromq-dev] zmq_close() semantics and handling outstanding messages
Martin Lucina
mato at kotelna.sk
Mon Jul 12 17:00:01 CEST 2010
sustrik at 250bpm.com said:
> A straightforward behaviour for zmq_term would be to block until all the
> sockets are deallocated -- each depending on it's SO_LINGER policy.
>
> (This could obviously result in deadlock on zmq_term, but that's beside
> the point once again I think.)
>
> Thoughts?
For the record, I also agree; I think there is now consensus on what the
correct semantics for zmq_close() and zmq_term() should be. Good
discussion!
-mato
More information about the zeromq-dev
mailing list