[Haskell-cafe] FPS lib
Benjamin Franksen
benjamin.franksen at bessy.de
Wed Oct 19 03:41:32 EDT 2005
On Tuesday 18 October 2005 12:12, Krasimir Angelov wrote:
> ByteArray# can be passed to C functions as well. The only problem is
> with mmap which cann't be implemented with arrays. mmap returns a
> pointer to the mapped file which is outside the Haskell heap.
Wouldn't there be problems, too, with C routines that internally store
the given pointer for later access? (GC moving the ByteArray#
around...)
Ben
More information about the Haskell-Cafe
mailing list