#4514: IO manager can deadlock if a file descriptor is closed behind its back
------------------------------------------+---------------------------------
  Reporter:  adept                        |          Owner:  bos             
      Type:  bug                          |         Status:  patch           
  Priority:  high                         |      Milestone:  7.0.2           
 Component:  Runtime System               |        Version:  7.0.1           
Resolution:                               |       Keywords:                  
  Testcase:                               |      Blockedby:                  
Difficulty:                               |             Os:  Linux           
  Blocking:                               |   Architecture:  Unknown/Multiple
   Failure:  Incorrect result at runtime  |  
------------------------------------------+---------------------------------

Comment(by simonmar):

 Replying to [comment:43 tibbe]:

 > It was indeed intended to be public, but I was forced to rely on a bunch
 of GHC specific modules rather than portable ones in order to break some
 cyclic dependencies. If those dependencies could be broken in a different
 way, the API would be truly portable again and perhaps then we could make
 a library proposal to make it more official. If someone feel like putting
 a warning about the library being GHC only in `System.Event.Manager`, go
 ahead.

 The fact that the implementation of `System.Event` is stuck in base due to
 recursive dependencies is really just an implementation detail, it doesn't
 affect whether the ''API'' is portable.

 One way to go would be to put the implementation in
 `System.Event.Internals` in base, and have a separate package that re-
 exports the public API.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to