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

GHC ghc-devs at haskell.org
Thu Nov 27 23:03:12 UTC 2014


#7482: GHC.Event overwrites main IO managers hooks to RTS
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:  AndreasVoellmy
  AndreasVoellmy                     |           Status:  closed
                  Type:  bug         |        Milestone:  7.8.1
              Priority:  normal      |          Version:  7.4.1
             Component:              |         Keywords:  IO Manager, RTS
  libraries/base                     |     Architecture:  Unknown/Multiple
            Resolution:  wontfix     |       Difficulty:  Unknown
      Operating System:              |       Blocked By:
  Unknown/Multiple                   |  Related Tickets:
       Type of failure:              |
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by thomie):

 * cc: hvr, ekmett (added)


Comment:

 Commit 2e86f4f609670a3d3ed05cedcf583326af670d9b:
 {{{
 Author: Andreas Voellmy <>
 Date:   Wed Dec 19 21:59:00 2012 -0500

     Resolve issue #7482 by removing the ability to create a new event
 manager.

     A search of hackage showed that all packages that use this module
 (which is considered private to GHC) do not use the 'new' function.
 }}}

 Commit 8db9ad88a983f104d2a5c9706b1fd61250bd7aae:
 {{{
 Author: Andreas Voellmy <>
 Date:   Fri Dec 21 14:27:10 2012 -0500

     Manager takes a flag that indicates whether it should de-register a
 file registration once it has received a callback.

     Previously, GHC.Event.Thread.threadWait calls unregister on the file
 in the callback. With this flag on, the manager now performs the
 deregistration so th
 }}}

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


More information about the ghc-tickets mailing list