[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GC ??
From: |
Ludovic Courtès |
Subject: |
Re: GC ?? |
Date: |
Wed, 3 Dec 2003 16:55:12 +0100 |
User-agent: |
Mutt/1.5.4i [Guile enabled] |
Hi,
Today, 3 hours, 5 minutes, 19 seconds ago, Stephen Compall wrote:
> Given this, do C functions that use SCM objects and presumably might
> call GC at some point need to declare their SCM variables volatile?
No. If a C function is passed (by Guile) an SCM object, Guile *knows*
the underlying Scheme object is still referenced so it may not be
garbage collected.
Also, note that GC may only happen on scm_must_malloc () calls I think.
Cheers,
Ludovic.
- GC ??, dv . praveen, 2003/12/02
- Re: GC ??, dv . praveen, 2003/12/03
- Re: GC ??, Matthias Koeppe, 2003/12/03
- Re: GC ??, Stephen Compall, 2003/12/03
- Re: GC ??,
Ludovic Courtès <=
- Re: GC ??, Matthias Koeppe, 2003/12/03
- Re: GC ??, Andreas Rottmann, 2003/12/03
- Re: GC ??, dv . praveen, 2003/12/03