[zeromq-dev] Signal handling in blocking zmq_recv

Chris Wong chris at chriswongstudio.com
Tue Mar 9 20:57:08 CET 2010


If you replace Python's sig handler, aren't you removing all the logics in Python's sig handler, whatever Python may have to do.

Chris

On Mar 9, 2010, at 1:37 PM, Brian Granger wrote:

> 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
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev




More information about the zeromq-dev mailing list