[zeromq-dev] czmq sets up signal handler by default.

Pieter Hintjens ph at imatix.com
Mon Jan 7 09:16:12 CET 2013


On Mon, Jan 7, 2013 at 2:10 AM, crocket <crockabiscuit at gmail.com> wrote:

> znc, an IRC bouncer, sets up its own signal handler, and I can't use czmq
> with znc modules.
>
> By telling zctx_new not to set up a signal handler,
> I would be able to use the power of czmq in my modules.
>
> Is there any plan to make a signal handler optional in czmq?

Yes, this was done recently. Call this method at the start of your
application (before the first zctx_new()):

    zsys_handler_set (NULL);

-Pieter



More information about the zeromq-dev mailing list