[zeromq-dev] CZMQ zctx_new signal handler side effect

Pieter Hintjens ph at imatix.com
Thu Dec 22 18:40:57 CET 2011


On Thu, Dec 22, 2011 at 1:30 AM, Philip Kovacs <kovacsp3 at comcast.net> wrote:

> Yeah, but then you create an obligation on the part of the main thread
> to poll its side of the pipe also....

Yes, exactly. There's no other way to do a clean shutdown. If you're
happy with a forced shutdown, we could add an API call that grabs back
signal handling (since it's an exceptional case, I'd rather that was
extra work, leaving the majority case to work as now).

-Pieter



More information about the zeromq-dev mailing list