rts: Abort if timerfd read fails
ClosedPublic

Authored by bgamari on Jun 19 2018, 1:49 PM.

Details

Summary

Currently we belch some output to stderr but fail to abort, resulting in a busy
loop. Fixes Trac #15292.

Test Plan
  • Validate
  • try running program under environment without timerfd capabilities; ensure we don't busy-loop

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bgamari created this revision.Jun 19 2018, 1:49 PM
simonmar accepted this revision.Jun 21 2018, 3:02 AM
This revision is now accepted and ready to land.Jun 21 2018, 3:02 AM
This revision was automatically updated to reflect the committed changes.