#3937: Cannot killThread in listen/accept on Windows threaded runtime
-------------------------------+--------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.14.1
Component: Runtime System | Version: 6.12.1
Keywords: | Difficulty:
Os: Windows | Testcase:
Architecture: x86 | Failure: Runtime crash
-------------------------------+--------------------------------------------
Changes (by simonmar):
* milestone: => 6.14.1
Comment:
This is because on Windows we don't delegate blocking IO operations to an
IO manager thread, as we do on Unix systems. Hopefully this will be fixed
in 6.14.1 (maybe that's optimistic as nobody has volunteered to build a
Windows version of the IO manager yet, but still).
One workaround is to explicitly fork a thread and pass the result back in
an `MVar`. It's easy to abstract this into a little function.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3937#comment:1>
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