[GHC] #10840: Periodic alarm signals can cause a retry loop to get stuck

GHC ghc-devs at haskell.org
Thu Apr 21 11:37:31 UTC 2016


#10840: Periodic alarm signals can cause a retry loop to get stuck
-------------------------------------+-------------------------------------
        Reporter:  Rufflewind        |                Owner:  bgamari
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.0.2
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by hsyl20):

 In the threaded RTS, on platforms without "timerfd" we could create a "ghc
 ticker" thread too and block the alarm signal in all threads except this
 one. I think this would fix the reported issue on OS X.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10840#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list