patch applied (packages/base): Handle buffers should be allocated
with newPinnedByteArray# always
Simon Marlow
simonmar at microsoft.com
Wed Jul 25 05:55:55 EDT 2007
Wed Jul 25 02:55:50 PDT 2007 Simon Marlow <simonmar at microsoft.com>
* Handle buffers should be allocated with newPinnedByteArray# always
Not just on Windows. This change is required because we now use safe
foreign calls for I/O on blocking file descriptors with the threaded
RTS. Exposed by concio001.thr on MacOS X: MacOS apparently uses
smaller buffers by default, so they weren't being allocated as large
objects.
M ./GHC/Handle.hs -8 +2
More information about the Cvs-libraries
mailing list