On Wed, Oct 09, 2002 at 02:02:35PM +0100, Alastair Reid wrote:
So are you saying that if a GC were to occur in the middle of a
C-implemented Hugs primitive, it could be bad news?
It's possible. It's something we never had to consider when writing
the Hugs primitives so we never took
What hasn't been required is for the various data structures to be
in a consistent state at that point, and Haskell finalizers might
trip over those if run after GC. SimonM's patch ran them at a
different point, though.
It calls them in eval doesn't it?
eval is called by nearly every
Simon Peyton-Jones [EMAIL PROTECTED] writes:
You didn't respond to my proposal, perhaps because it didn't seem like
one (I've changed a few words).
I think I agree with your proposal as far as nhc98 is concerned.
Regards,
Malcolm
___
FFI
On Wed, Oct 09, 2002 at 04:09:07PM +0100, Alastair Reid wrote:
What hasn't been required is for the various data structures to be
in a consistent state at that point, and Haskell finalizers might
trip over those if run after GC. SimonM's patch ran them at a
different point, though.
It