[GHC] #4504: "awaitSignal Nothing" does not block thread with -threaded

GHC cvs-ghc at haskell.org
Wed Dec 8 11:13:24 CET 2010


#4504: "awaitSignal Nothing" does not block thread with -threaded
---------------------------------+------------------------------------------
    Reporter:  adept             |        Owner:  adept                      
        Type:  bug               |       Status:  patch                      
    Priority:  normal            |    Milestone:  7.2.1                      
   Component:  Runtime System    |      Version:  7.0.1                      
    Keywords:                    |     Testcase:                             
   Blockedby:                    |   Difficulty:                             
          Os:  Unknown/Multiple  |     Blocking:                             
Architecture:  Unknown/Multiple  |      Failure:  Incorrect result at runtime
---------------------------------+------------------------------------------

Comment(by simonmar):

 Are we really sure we should fix it this way?  Perhaps instead we should
 document that the RTS uses `SIGVTALRM` or `SIGALRM`, and the caller should
 include those in the signal set unless they really know what they're
 doing.

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



More information about the Glasgow-haskell-bugs mailing list