[zeromq-dev] Signal handling in blocking zmq_recv

Brian Granger ellisonbg at gmail.com
Mon Mar 8 21:06:55 CET 2010


Martin,

This example is helpful.

> http://github.com/mato/zeromq-examples/blob/master/zmq-camera.c

Based on the information here:

http://docs.python.org/library/signal.html

I think it might be possible to handle this in python with 2 app
threads.  But because Python only handles signals in the main thread,
it would require having the main thread just do the signal handling.
This is on my list of things to explore.

Cheers,

Brian



-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com



More information about the zeromq-dev mailing list