
18 Oct
2021
18 Oct
'21
11:32 a.m.
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