#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 tibbe):
Replying to [comment:42 simonmar]:
> For the time being we should consider it to be in the same class as
`Control.Exception.Base` and `System.Posix.Internals`, i.e. an internal
module on which other stuff depends.
>
> Presumably Bryan and Johan intend it to become a public API. In that
case we should really have a library proposal to make it public; until
then it's an internal API, and the documentation should really make that
clear.
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4514#comment:43>
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