[zeromq-dev] Fwd: ZMQ Closure - Change of Beginners Documentation
sustrik at 250bpm.com
Wed May 25 15:33:33 CEST 2011
On 05/25/2011 03:14 PM, Mike Pearce wrote:
> Perhaps its better that this is reworded to
> " So by calling zmq_term your reader threads will release and they can
> then call zmq_close before they exit".
They are not necessarily reader threads. They may be stuck in zmq_send()
for example (if HWM was reached). They can be insuide zmq_poll() at the
moment. They can even do no 0MQ operation at the time zmq_term() is
called -- ETERM will then be returned on the next call to any 0MQ function.
In short, calling the "reader" threads is a bit misleading.
More information about the zeromq-dev