[zeromq-dev] ZMQ, CZMQ, threads and signal handlers
Pieter Hintjens
ph at imatix.com
Mon Jan 7 14:19:38 CET 2013
On Mon, Jan 7, 2013 at 11:49 AM, Claudio Carbone <erupter at libero.it> wrote:
> I don't make use of CZMQ, I use ZMQ and zhelpers.h but I notice that
> sometimes my signal handler is ignored and a ZMQ one catches the signal.
If you're using zhelpers.h instead of CZMQ, then none of the CZMQ
threads apply to your case.
zhelpers installs a simple signal handler. Your application is also
installing a signal handler. There's going to be some confusion then.
I'd suggest making your version of zhelpers.h without the signal handling.
-Pieter
More information about the zeromq-dev
mailing list