Skip to content

hWaitForInput documentation is wrong

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.

Trac metadata
Trac field Value
Version 6.6
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Documentation
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information