Skip to content
  • Ben Gamari's avatar
    rts: Abort if timerfd read fails · c7b1e93b
    Ben Gamari authored and Ben Gamari's avatar Ben Gamari committed
    Currently we belch some output to stderr but fail to abort, resulting in
    a busy loop. Fixes #15292.
    
    Test Plan:
     * Validate
     * try running program under environment without timerfd capabilities;
    ensure we don't busy-loop
    
    Reviewers: simonmar, erikd
    
    Reviewed By: simonmar
    
    Subscribers: rwbarton, thomie, carter
    
    GHC Trac Issues: #15929
    
    Differential Revision: https://phabricator.haskell.org/D4875
    c7b1e93b