[zeromq-dev] Signal handling in blocking zmq_recv

Brian Granger ellisonbg at gmail.com
Tue Mar 9 20:37:08 CET 2010


A correction...

> Thus, I think the only way of resolving this if 0MQ is making out
> signals in the IO threads.  Thoughts?

What I meant was...

Thus, I can't think of any way of resolving this if 0MQ is masking out
signal in the IO threads.

After looking a bit more, I think it might be possible to install a
signal handler at the C-level
that replaces Python's default signal handler and does the right
thing.  I know another project
that does this with some success.  I am contacting them about this.
But, it would be nice
to not have to do this...

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