[GHC] #3316: Deadlock in non-threaded RTS with hPutBuf
GHC
trac at galois.com
Tue Jun 23 06:27:53 EDT 2009
#3316: Deadlock in non-threaded RTS with hPutBuf
-------------------------+--------------------------------------------------
Reporter: ganesh | Owner: simonmar
Type: bug | Status: new
Priority: normal | Milestone: 6.12.1
Component: Compiler | Version: 6.8.3
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Linux
Architecture: x86 |
-------------------------+--------------------------------------------------
Changes (by simonmar):
* owner: => simonmar
* difficulty: => Unknown
* milestone: => 6.12.1
Comment:
A problem with using `O_NONBLOCK` is that you might pass this `Handle` to
another process, for example when constructing a pipeline of processes
using `createProcess`. Strictly speaking in that case we should set the
FD to be blocking again, but right now we don't have support for changing
the blocking mode on an existing Handle. I suppose I'll have to do that
first.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3316#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list