On 7/6/10, Martin Lucina <m...@kotelna.sk> wrote: > dhamm...@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. _______________________________________________ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev