[zeromq-dev] Fwd: ZMQ Closure - Change of Beginners Documentation
mike at kaew.be
Wed May 25 15:14:52 CEST 2011
I was avoiding the detail of ETERM etc but I was referring to the call to
- The reader threads are blocked on zmq_recv.
- zmq_term sends an exit command and this releases the blocking (ETERM
- The reader threads can then call zmq_close in order to get the reaper
thread to close the socket.
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".
On Wed, May 25, 2011 at 12:29 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:
> On 05/25/2011 11:40 AM, Mike Pearce wrote:
> Minor point:
> So by calling zmq_term your reader threads will release
> > and they can
>> then close their sockets and exit.
> What you meant was "worker threads will get ETERM error" I presume.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev