#972: hWaitForInput documentation is wrong
-----------------------------------------+----------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Documentation | Version: 6.6
Severity: normal | Keywords: hWaitForInput
Difficulty: Easy (1 hr) | Testcase:
Architecture: Unknown | Os: Unknown
-----------------------------------------+----------------------------------
The documentation for System.IO.hWaitForInput states that "in the current
implementation, (...) if t is non-zero, then all other concurrent threads
are blocked until data is available"
This is not true in GHC 6.6 on Windows. Both threads forked with forkIO
and forkOS continue working normally.
Most likely an oversight. Might be in more places.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/972>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs