[zeromq-dev] Signal handling in blocking zmq_recv

Brian Granger ellisonbg at gmail.com
Wed Mar 10 17:50:23 CET 2010


> So what do you propose? As far as I understood from the previous email,
> Python is actually getting the signals, however, it deliberately chooses to
> delay their processing till the C function exits. How can 0MQ possibly help
> with that?

I think you have understood the issue correctly.

I honestly can't think of anything that 0MQ can do....but I wish there was.

I will keep picking away at this and see if I have any luck with setting a new
signal handler in C.

The other options is to simply use zmq_poll for everything, which I
think would solve
the problem.



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