[zeromq-dev] Issue 85 & 92

ntupel at googlemail.com ntupel at googlemail.com
Wed Oct 27 10:46:27 CEST 2010


On Tue, Oct 26, 2010 at 7:32 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:
> On 10/26/2010 07:30 PM, Pieter Hintjens wrote:
>
>> zmq_recv should return with ETERM if another thread calls zmq_term.
>
> If it doesn't happen, it's a bug. Please, do fill in a bug report in
> such case.

It does happen. Apologies, it was my fault. Now it works for me.
Thread T2 calls zmq_term. T1 which is blocked in zmq_recv gets ETERM
and invokes zmq_close on its socket. Everyone is happy :)

Many thanks again!

-nt



More information about the zeromq-dev mailing list