[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GC question
From: |
Michael Welsh Duggan |
Subject: |
Re: GC question |
Date: |
Sun, 23 May 2004 19:05:15 -0400 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Han-Wen Nienhuys <address@hidden> writes:
> address@hidden writes:
>> Han-Wen Nienhuys <address@hidden> writes:
>>
>> > address@hidden writes:
>> >> How are grobs created by make_item from within perfomers protected
>> >> from GC? I couldn't find any container object which calls their
>> >> mark_smob function. (I'm rather tired right now, so I suspect I am
>> >> overlooking something very simple.)
>> >
>> > Have a look at the smobify_self() function. (ly-smobs.hh/icc)
>>
>> I understand. My mind hasn't been working very well, I am afraid.
>> How do these grobs get garbage collected once we are done with them?
>
> System::typeset_grob() unprotects them, and the grobs perish with the
> System.
Thank you. This is precisely what I was missing.
--
Michael Welsh Duggan
(address@hidden)