[zeromq-dev] behavior of zmq_term in 2.1.0
Martin Sustrik
sustrik at 250bpm.com
Sat Nov 27 22:25:10 CET 2010
Chuck,
> Is zmq_term() supposed to call zmq_close() on all known sockets on my behalf or do I need to keep a list of these sockets and iterate over them calling zmq_close()?
>
No, it can't deallocate the sockets underneath other threads that may
still be using them.
Instead it causes sockets to return ETERM from any function (except
zmq_close).
Martin
More information about the zeromq-dev
mailing list