#4144: Exception: ToDo: hGetBuf - when using custom handle infrastructure
-------------------------------+--------------------------------------------
Reporter: AntoineLatter | Owner: simonmar
Type: bug | Status: patch
Priority: high | Milestone: 7.8.1
Component: libraries/base | Version: 7.6.1
Resolution: | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Runtime crash | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
-------------------------------+--------------------------------------------
Comment(by joeyadams):
For Windows, couldn't we implement non-blocking I/O correctly by first
calling the `inputReady.c` function? That is, change
`readRawBufferPtrNoBlock` and `writeRawBufferPtrNoBlock` to first call
`fdReady` to make sure the operation won't block before proceeding.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4144#comment:12>
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