[zeromq-dev] shutdown mutex issue with 2.10
Oliver Smith
oliver at kfs.org
Thu Oct 14 18:38:26 CEST 2010
Pieter Hintjens said the following on 10/14/2010 12:18 AM:
> Oliver,
> Sounds like the same issue as:
>
> http://github.com/zeromq/zeromq2/issues#issue/85
> http://lists.zeromq.org/pipermail/zeromq-dev/2010-October/006607.html
Actually, I appear to have demonstrated two problems in one go.
In my sample code, I ran into the problem with untransmitted data
hanging an application above main trying to send data that will never be
received.
But in my original code I appear to be running afoul of a problem with
destructor ordering.
My zmq::context_t (static) is having it's destructor called before my
zmq::socket_t (new'd), resulting in the context waiting forever when the
application terminates.
- Oliver
More information about the zeromq-dev
mailing list