addForeignPtrFinalizer

Alastair Reid alastair at reid-consulting-uk.ltd.uk
Wed Sep 25 09:38:37 EDT 2002


> Actually in the current implementation the finalizers are not
> attached to the ForeignPtr at all: it's the other way around. 

Ah, I see.

Fortunately, I don't think my sketched implementation depended on such
an attachment since it added an attachment of its own.  The design is
intended to sit on top of the current GHC implementation (i.e., one
with Haskell finalizers and no control over the order they are run).

A




More information about the FFI mailing list