[zeromq-dev] Signal handling in blocking zmq_recv

Brian Granger ellisonbg at gmail.com
Tue Mar 9 03:18:25 CET 2010


> fwiw, in the zmq-camera example you can avoid creating a thread to
> handle signals since you're using polling - you could use signalfd to
> receive signals via a file descriptor, then have zmq poll the socket
> and signal fd. Looks like signalfd is Linux specific thou...

Thanks for the tip, I will look at this..



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