[zeromq-dev] python, calls not unblocking on signal

Justin Karneges justin at affinix.com
Thu Feb 2 02:26:16 CET 2012


On Wednesday, February 01, 2012 04:31:35 PM MinRK wrote:
> If you are just looking for clean shutdown, you can terminate the Context
> from the main thread when it is interrupted, and then blocking calls in
> other threads will raise ZMQError(ETERM).
> 
> For example: https://gist.github.com/1720387

Thanks!  I see ETERM is actually a standard feature of libzmq, very nice.



More information about the zeromq-dev mailing list