[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is my procedure getting GCed?

From: Brett Viren
Subject: Re: Is my procedure getting GCed?
Date: Tue, 1 May 2001 13:16:35 -0400 (EDT)

Michael Livshin writes:
 > the Guile GC only knows about the calling stack and the registers.
 > if all the instances of ScalarBC are automatic (i.e. sit on the
 > stack), then there should be no problem.  but if you `new' them or
 > they are static, then you definitely should inform Guile about the
 > fProc field.
 > try adding this to the constructor:
 > scm_protect_object (fProc); // once fProc is intialized, of course

This is exactly what was going on.  Thanks a bunch!

 > hth, never mind the Totally Random signature,
 > ... it's just that in C++ and the like, you don't trust _anybody_,
 > and in CLOS you basically trust everybody.  the practical result
 > is that thieves and bums use C++ and nice people use CLOS.
 >                 -- Erik Naggum

This must be a forgery.  I have read Erik's posts on comp.lang.lisp
and I don't think I have ever heard him be this polite....

Since I am mixing the two, I guess it makes me a ``nice bum''.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]