[GHC] #1936: When lazy IO blocks, it blocks the whole runtime
GHC
trac at galois.com
Fri Dec 14 21:45:20 EST 2007
#1936: When lazy IO blocks, it blocks the whole runtime
------------------------------------------+---------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.8.3
Component: None | Version: 6.8.1
Severity: normal | Resolution:
Keywords: lazy IO getContents blocking | Difficulty: Unknown
Testcase: | Architecture: Multiple
Os: Linux |
------------------------------------------+---------------------------------
Changes (by igloo):
* milestone: => 6.8.3
Comment:
I have a vague memory that something similar was caused by one function
(here getContents) taking a lock on a Handle (I think stdin and stdout
might be a single handle for this purpose), so another function (here
putStrLn) can't get a lock on it. Might be worth searching out the old bug
report (not sure if it would be closed or not, and it's possible it was
only a list discussion or something).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1936#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list