[GHC] #5797: readRawBufferPtr cannot be interrupted by exception on Windows with -threaded
GHC
cvs-ghc at haskell.org
Thu Jan 19 16:58:08 CET 2012
#5797: readRawBufferPtr cannot be interrupted by exception on Windows with
-threaded
-------------------------------+--------------------------------------------
Reporter: joeyadams | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 7.2.2
Keywords: | Os: Windows
Architecture: x86 | Failure: Incorrect result at runtime
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
-------------------------------+--------------------------------------------
Comment(by joeyadams):
What if readRawBufferPtr simply called threadWaitRead before making the
safe foreign call? I suppose there's a theoretical risk the foreign call
may block after that, but it seems far less likely after a successful
return from threadWaitRead.
Does threadWaitRead work on Windows with -threaded ?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5797#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list