Article View: comp.lang.clos
Article #412Re: accessing clos objects
From: lawrence.g.mayka
Date: Tue, 12 Feb 1991 15:50
Date: Tue, 12 Feb 1991 15:50
17 lines
1255 bytes
1255 bytes
In article <1991Feb11.223240.20960@Think.COM> barmar@think.com (Barry Margolin) writes: method on MAKE-INSTANCE that adds the new instance to the list. You might also want to define a REMOVE-INSTANCE method that would remove the specified instance from the list (otherwise, instances will never get GCed). Some Common Lisp vendors (e.g., Symbolics) offer some form of "weak reference" - a way to refer to an object without protecting it from GC. Using weak references to keep track of extant instances avoids the need for explicit de-allocation. Lawrence G. Mayka AT&T Bell Laboratories lgm@iexist.att.com Standard disclaimer.
Technical Details
Message-ID:
<LGM.91Feb12105046@cbnewsc.ATT.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!samsung!emory!att!cbfsb!cbnewsc!cbnewsc!lgmReferences:
<MIKEB.91Feb11101840@wdl35.wdl.loral.com> <1991Feb11.223240.20960@Think.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!samsung!emory!att!cbfsb!cbnewsc!cbnewsc!lgm From: lgm@cbnewsc.ATT.COM (lawrence.g.mayka) Newsgroups: comp.lang.clos Subject: Re: accessing clos objects Message-ID: <LGM.91Feb12105046@cbnewsc.ATT.COM> Date: 12 Feb 91 15:50:46 GMT References: <MIKEB.91Feb11101840@wdl35.wdl.loral.com> <1991Feb11.223240.20960@Think.COM> Sender: lgm@cbnewsc.att.com (lawrence.g.mayka) Distribution: comp.lang.clos Organization: AT&T Bell Laboratories Lines: 17 In-Reply-To: barmar@think.com's message of 11 Feb 91 22:32:40 GMT