[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is my procedure getting GCed?
From: |
Neil Jerram |
Subject: |
Re: Is my procedure getting GCed? |
Date: |
16 May 2001 20:21:56 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "Michael" == Michael Livshin <address@hidden> writes:
Michael> Neil Jerram <address@hidden> writes:
>> What's the difference between roots and the objects protected
>> by scm_protect?
Michael> static SCM my_global_thingie; ... my_global_thingie =
Michael> scm_cons (a, b);
Michael> after the assignment, the object would be the cons
Michael> (i.e. `my_global_thingie') and the root would be the
Michael> pointer _itself_ (i.e. `&my_global_thingie').
Thanks, but I'm afraid I still don't get it. What then is the big
advantage of roots over scm_protect? (Sorry if I'm being totally
thick here.)
Neil