hGetBufNonBlocking doesn't work on Windows
All HAppS (http://happs.org/HAppS/README.html) applications fail with an internal error: asyncRead# when compiled with the -threaded option.
To reproduce the error:
- compile any of the apps in the example subdirectory with -threaded and access it over the net (http://localhost:8000).
For example:
ghc --make -v -fallow-overlapping-instances -fglasgow-exts -threaded httpd.hs -o httpd
The same programs compiled without -threaded work fine.
Tested on Windows XP with latest SP/patches and gcc 6.4.2. Let me know if you would like more info or the full compilation trace.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.4.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |
Edited by Simon Marlow