On 02/16/2011 03:28 PM, Ian Barber wrote:

> I would imagine that you could do something like add another zeromq
> socket for control messages, and poll for them both - then have a
> separate thread that will catch the interruption and send a shutdown
> type message (or whatever you want it to do) to your subs.

Alternatively, if the problem is cleaning up, you may simply close the 
context and all sockets should immediately return with ETERM error.

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

Reply via email to