[zeromq-dev] Interrupt recv() with ctrl-c in pyzmq

jeremy_mclain at selinc.com jeremy_mclain at selinc.com
Thu Nov 6 20:18:53 CET 2014


I'm trying to figure out how to interrupt recv() using SIGINT signal 
(ctrl-c). It seems to work find ask shown in this example when recv() is 
called on the main thread. http://zguide.zeromq.org/py:interrupt. I can't 
figure out how to get it to work when the recv() is called from a thread 
other than main.

Any ideas?

Jeremy McLain
Schweitzer Engineering Laboratories, Inc.
509-336-4443
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20141106/a69f1428/attachment.htm>


More information about the zeromq-dev mailing list