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

GHC ghc-devs at haskell.org
Thu Apr 21 14:30:39 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):

 Replying to [comment:16 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.

 Forget this idea, @simonmar told me that it won't work nicely with threads
 that don't belong to GHC.

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


More information about the ghc-tickets mailing list