[Haskell-cafe] GDB and ticks

Sylvain Henry sylvain at haskus.fr
Mon Oct 18 15:32:30 UTC 2021


On 18/10/2021 16:27, Donn Cave wrote:
>
> What does it break?  Just about anything I'd run that was written in
> Haskell must run this way, to avoid fatal interrupts in things like
> socket I/O, so it's essentially a default - everything must be built
> with -rtsopts, and run with GHCRTS=-V0 environment.

It shouldn't be necessary on Linux: since 2016 [1] the RTS uses timerfd 
which doesn't use signals and avoids interrupting other I/O.

Sylvain

[1] 
https://github.com/ghc/ghc/commit/120b9cdb31878ecee442c0a4bb9532a9d30c0c64




More information about the Haskell-Cafe mailing list