#4934: threadWaitRead works incorrectly on nonthreaded RTS
-------------------------------+--------------------------------------------
Reporter: slyfox | Owner: simonmar
Type: bug | Status: infoneeded
Priority: high | Milestone: 7.0.3
Component: Runtime System | Version: 7.0.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Linux | Blocking:
Architecture: x86_64 (amd64) | Failure: Incorrect result at runtime
-------------------------------+--------------------------------------------
Comment(by simonmar):
The problem is that we can't easily make `threadWaitRead` raise an
exception for closed FDs in the non-threaded RTS where we use `select`,
because we have no information about which FD has the error. Presumably
the same applies in the new IO manager when using `poll`?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4934#comment:11>
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