No description provided.
Make zctx_destroy restore original sighandler
The problem with this change is that it breaks the case where an application does multiple zctx_new() and zctx_destroy() calls.
Also, the management of interrupts should perhaps go into a zsys now, it's not portable and messier than I'd like in zctx.
The problem is to allow CZMQ's interrupt handling to co-exist with external interrupt handling.
I'd suggest two new API calls,
Note that zctx_new() then needs a first time flag to call zsys_handler_set() only once.
I've missed that case.. Move this to zsys looks good! I'll fix that soon!
I'm merging this and will refactor it via zsys like I suggested.