[zeromq-dev] [patch] handle SIGPIPE

Dhammika Pathirana dhammika at gmail.com
Wed Jul 7 17:03:26 CEST 2010


>
> I don't have the code handy right now, look for the call to
>  pthread_sigmask(). The signal mask is cleared for all 0MQ I/O threads,
>  so they will not get any signals (excepting SIGSEGV, etc.)
>
>  Hence the SIGPIPE issue should be moot, unless on some broken OS a
>  SIGPIPE correctly ignored by a 0MQ I/O thread is getting sent to an
>  application thread instead, which is why I asked to see a practical case
>  of something breaking.
>
>


Thanks for explaining this.
I think I've seen this once on ARM port, but I don't have a test case
to recreate. Then again it could be from some other lib.



More information about the zeromq-dev mailing list