[zeromq-dev] [patch] handle SIGPIPE
Dhammika Pathirana
dhammika at gmail.com
Wed Jul 7 05:29:18 CEST 2010
On 7/6/10, Martin Lucina <mato at kotelna.sk> wrote:
> dhammika at gmail.com said:
> > Patch to handle SIGPIPE in send().
> > SIGPIPE behavior is not consistent even across *ix platforms. Linux
> > has MSG_NOSIGNAL and Mac supports SO_NOSIGPIPE. Best option is to set
> > SIG_IGN, but it's more of an application setting. We should document
> > this.
>
>
> Why would we need to deal with this at all? 0MQ I/O threads already ign
How does 0MQ ignore signals? I don't see a signal handler or SIG_IGN flag.
Default SIGPIPE behavior is to terminate the process.ore
> all signals which includes SIGPIPE. Or is there some case you're hitting
> that's not being handled correctly?
>
How does 0MQ ignore signals? I don't see a signal handler or SIG_IGN flag.
Default SIGPIPE behavior is to terminate the process.
More information about the zeromq-dev
mailing list