#4514: System.Timeout cannot properly cancel IO actions with new IO manager
---------------------------------+------------------------------------------
Reporter: adept | Owner: tibbe
Type: bug | Status: new
Priority: normal | Component: Runtime System
Version: 7.0.1 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Incorrect result at runtime
---------------------------------+------------------------------------------
Comment(by adept):
Right now, `threadWait` is executed in the same thread as
`Network.Socket.recv`, which is why `timeout` is able to kill it and
prevent `unregisterFd` from executing.
So either `threadWait` should make sure that `unregisterFd` is called no
matter what, or `registerFd` should be more robust.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4514#comment:5>
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