[zeromq-dev] Signal handling in blocking zmq_recv
sustrik at 250bpm.com
Tue Mar 9 07:37:28 CET 2010
David Robinson wrote:
> 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...
Unfortunately, you are right. The construct isn't portable.
More information about the zeromq-dev