[zeromq-dev] Recv hangs

Cliff Stanford cliff at may.be
Mon Nov 1 13:34:37 CET 2010


On 31/10/10 20:29, Martin Sustrik wrote:

> If you call zmq_term from another thread, the thread stuck in recv
> should exit with ETERM error. If that doesn't happen, it's a bug.

Thank you Martin, that was the problem.  I now dispose of the context 
from the shutdown sequence and it exits cleanly (with a caught exception).

I'd missed zmq_term totally.  This list has saved me hours more 
head-scratching.

Thanks again,
Cliff.

-- 
Cliff Stanford
Office: +44 845 0045 666      UK Mobile:  +44 7973 616 666
Home:   +44 20 0222 1666      Spain Home: +34  952 587 666
http://www.may.be/



More information about the zeromq-dev mailing list