[Ecls-list] Custom finalization (draft)

Juan Jose Garcia Ripoll lisp at arrakis.es
Thu Jun 1 07:33:15 UTC 2006

On Wed, 2006-05-31 at 18:11 +0200, Goffioul Michael wrote: 
> > I tried to implement custom finalization within ECL with the 
> > patch attached.
> > It's only a draft, but the few trivial tests I made seems to 
> > work. What do you think?
> Here's a version with corrected function names.

I am not sure about the semantics of finalization in the Boehm-Weiser
garbage collector, and in particular whether we are allowed to "cons"
while running the finalizer. Apart from that, you probably want to use
GC_register_finalizer_no_order, which is what the Java implementation
does, and which deals properly with cyclic structures.

Would you mind if I send an email to the GC mailing list before
committing this patch? Just to make sure.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20060601/d2f35421/attachment.sig>

More information about the ecl-devel mailing list