[trivial-garbage-devel] Finalize with closure

Luís Oliveira loliveira at common-lisp.net
Thu Dec 13 14:48:07 UTC 2012


On Wed, Dec 12, 2012 at 9:36 PM, Hans Höglund <hans at hanshoglund.se> wrote:
> I use 32-bit LispWorks on OS X 10.7 and it works well enough.
>
> I do not know the behavior in other implementations.

Right, I re-checked the documentation and Lispworks indeed runs the
finalizer before reclaiming the object, which is why your approach
works there. It won't work in SBCL, for example. As such, we cannot
support this feature in a portable fashion. :-/

I've created a new issue to document this:
<https://github.com/trivial-garbage/trivial-garbage/issues/8>.

Thanks,

-- 
Luís Oliveira
http://r42.eu/~luis/




More information about the trivial-garbage-devel mailing list