On Sat, Dec 29, 2012 at 4:54 PM, crocket <[email protected]> wrote:

> It turned out that the error occurred because I tried to use a socket after
> closing the context.

This is in fact a good way to detect shutdown; one thread destroys the
context, and a second will get ETERM errors on any operation that
tries to use it (or any socket on it). The child thread can exit when
it gets ETERM.

-Pieter
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to