Re: portable finalizer
- From: Mark Hoemmen <mark.hoemmen@xxxxxxxxx>
- Date: Tue, 03 Jul 2007 11:19:08 -0700
Marco Gidde wrote:
Tamas Papp <tkpapp@xxxxxxxxx> writes:
I am wrapping a void * cffi pointer and some extra information in a
CLOS object. When the object is garbage-collected, I would like to
have the memory location freed. I have found out how to do
finalization in SBCL, but I want to make my code portable.
A related question -- are finalizers called when the object falls out of scope, or when a GC is called?
If the latter, how can we instruct the GC to be aware of limited resources (like malloc'd memory, file handles, etc.)?
mfh
.
- Follow-Ups:
- Re: portable finalizer
- From: Luke Crook
- Re: portable finalizer
- From: dlp
- Re: portable finalizer
- References:
- portable finalizer
- From: Tamas Papp
- Re: portable finalizer
- From: Marco Gidde
- portable finalizer
- Prev by Date: Re: slime not working with sbcl 1.0.7 x86-64
- Next by Date: Re: socially challenged???!!??
- Previous by thread: Re: portable finalizer
- Next by thread: Re: portable finalizer
- Index(es):
Relevant Pages
|