[project @ 2004-06-02 16:07:17 by simonmar]
authorsimonmar <unknown>
Wed, 2 Jun 2004 16:07:17 +0000 (16:07 +0000)
committersimonmar <unknown>
Wed, 2 Jun 2004 16:07:17 +0000 (16:07 +0000)
commit77ff24964cf01fd5ce8360bb256a5dce88760b14
treeaa6f6a7b1a83f7dfc3d22de6f71bc3089039012b
parent010262453e6f3a577cf1fb91d98bf1648f3e9bc0
[project @ 2004-06-02 16:07:17 by simonmar]
- Win32: when using the threaded RTS, bypass the Async IO stuff and
  just make blocking calls to read()/write().

  This gives a significant performance boost to programs doing lots of
  multithreaded I/O: in fact, a test program I have which does I/O
  over 500 pipes simultaneously goes twice as fast with this change,
  and is even faster than the non-threaded RTS (Windows only - Unix
  changes are in the pipeline too).

- openFd: take an extra parameter to specify socketness of the file
  descriptor rather than assuming that all streams are sockets.  Some
  streams (eg. pipes) aren't sockets.
GHC/Handle.hs