[zeromq-dev] i can't see what i am doing wrong

Martin Lucina mato at kotelna.sk
Wed Jul 7 09:05:10 CEST 2010


On 6/7/2010, "Andrew Hume" <andrew at research.att.com> wrote:

>okay, i gather you sleep before you start. fine.
>
>i can do a handshake around the exit thing IF i can find out if
>the context is finished its work. is there a way to do that?

That's precisely what you can't do right now and what the thread Re.
zmq_close() semantics is about. If that proposal gets implemented then
zmq_term() will block until outstanding messages are sent to the network
which is what you want most of the time.

-mato



More information about the zeromq-dev mailing list