[Haskell-cafe] GHC handling of signals

Viktor Dukhovni ietf-dane at dukhovni.org
Sat May 27 14:52:28 UTC 2023

On Sat, May 27, 2023 at 03:53:55PM +0200, Ben Franksen wrote:

> Apparently the GHC runtime does something like
>    installHandler sigPIPE Ignore Nothing
> This is not a complaint, I find the behavior quite reasonable and much 
> more predictable than the default (why should I not be able to catch 
> EPIPE and continue?).
> The question is whether it is documented how the GHC runtime treats 
> signals and if yes where?

In the case of SIGPIPE, the relevant documentation can be found in:



More information about the Haskell-Cafe mailing list