[zeromq-dev] Fwd: ZMQ Closure - Change of Beginners Documentation
Mike Pearce
mike at kaew.be
Wed May 25 15:14:52 CEST 2011
Hi Martin,
I was avoiding the detail of ETERM etc but I was referring to the call to
zmq_close -
- The reader threads are blocked on zmq_recv.
- zmq_term sends an exit command and this releases the blocking (ETERM
error).
- 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".
Kind Regards,
Mike
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.
>
> Martin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110525/94cfe97c/attachment.htm>
More information about the zeromq-dev
mailing list