A question about moving GC

Unknown W. Brackets Unknown_member at pathlink.com
Thu Jun 8 16:57:55 PDT 2006


But the question is for a "moving" GC, which might not consider a local
reference to mean "don't move it"...?

-[Unknown]

In article <e6abmn$1iaj$1 at digitaldaemon.com>, Walter Bright says...
>
>Stewart Gordon wrote:
>> But what if the foreign code needs to hold onto the pointer for longer 
>> than it can remain on the stack?
>
>Have the D caller code keep a copy, or use addRoots to tell the gc where 
>the foreign code is holding it.





More information about the Digitalmars-d-learn mailing list