[Moptilities-devel] Re: Moptilities:care-when-finalized method does not work for sbcl

Gary King gwking at metabang.com
Fri Oct 3 16:03:11 UTC 2008


(cc'd to list)

Hi Gustavo,

Thanks for bringing this to my attention. I didn't realize it.

I agree with you that signaling an error (at compile time) is the  
right thing to do. I'll add this change to my list of things to do and  
hope to get to it over the weekend.

On Oct 3, 2008, at 11:18 AM, Gustavo wrote:

> Gary King,
>
> In sbcl, the care-when-finalized function does not do its job. It is  
> know that sbcl's sb-ext:finalizer can't reference the object it is  
> finalizing, because its garbage collector is written in C and, when  
> the finalizer is called, the object is already gone. So there is no  
> hope calling care-when-finalized will ever work with sbcl (at least  
> not with the current version of sbcl). Maybe it would be better to  
> signal an error (a "function not implemented" error) instead of  
> calling sb-ext:finalizer with a method which takes one argument -  
> which is invalid.
>
> Gustavo.

--
Gary Warren King, metabang.com
Cell: (413) 559 8738
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM







More information about the Moptilities-devel mailing list