[zeromq-dev] czmq_new() and automatically installed signal handlers

Andy Ballingall TF ballingall at thefoundry.co.uk
Mon Dec 31 17:52:37 CET 2012


If you call zctx_new(), then it automatically adds a signal handler which
captures SIGINT and SIGTERM. (At least for *nix)

I'm using czmq to add new functionality to existing applications, some of
which already have signal handling in place, so that's going to be an issue.

Has anyone discussed making the signal handling addition an option when
calling zctx_new()?

(This is the only discussion I could find and it isn't quite what I'm after)

http://grokbase.com/t/zeromq/zeromq-dev/11cpsq2ccg/czmq-zctx-new-signal-handler-side-effect


Andy


-- 
Andy Ballingall
Senior Software Engineer

The Foundry
6th Floor, The Communications Building,
48, Leicester Square,
London, WC2H 7LT, UK
Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906
Web: http://www.thefoundry.co.uk/

The Foundry Visionmongers Ltd.
Registered in England and Wales No: 4642027
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121231/eee0059c/attachment.htm>


More information about the zeromq-dev mailing list