[GHC] #7482: GHC.Event overwrites main IO managers hooks to RTS

GHC cvs-ghc at haskell.org
Wed Dec 5 17:15:33 CET 2012


#7482: GHC.Event overwrites main IO managers hooks to RTS
-----------------------------+----------------------------------------------
Reporter:  AndreasVoellmy    |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  libraries/base  
 Version:  7.4.1             |       Keywords:  IO Manager, RTS 
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
 Failure:  None/Unknown      |      Blockedby:                  
Blocking:                    |        Related:                  
-----------------------------+----------------------------------------------
 The IO manager registers two file descriptors with the RTS which the RTS
 uses to send control and wakeup signals to the IO manager. The main IO
 manager is started up by default and registers some file descriptors that
 it has allocated with the RTS.

 The base package also exposes a GHC.Event module which when initialized
 will also register files with the RTS, overwriting the main IO manager's
 files. Now the RTS can no longer signal the main IO manager.

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



More information about the Glasgow-haskell-bugs mailing list