[MLton-user] Re: fork() in MLton on Cygwin
Garbage Collection
g4rb4g3c0ll3ct10n@yahoo.com
Fri, 16 Jul 2004 11:01:38 -0700 (PDT)
There is a fix for the Cygwin fork/mmap bug in the
current (20040715 and later) developer snapshot
(cygwin.com/snapshots).
Using a recompiled version of MLton and the new Cygwin
dll, all regression tests pass except socket.sml and
textio.2.sml.
I'm including diffs against the current CVS versions
of runtime/gc.c and basis-library/posix/process.sml.
gc.c:
uses mmap/munmap instead of VirtualAlloc/VirtualFree,
but still uses MEMORYSTATUS/VirtualQuery in
showMem/showMaps.
process.sml:
no longer guards the Cygwin.
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail