GC: finalization order?!

Martin Kinkelin noone at spam.com
Sat Feb 19 06:19:21 PST 2011


Thanks guys, I'm honestly impressed by the responsiveness of this
newsgroup!

So I guess I'll try to mess around with GC.add/removeRoot().

For the curious:
Child is a memory buffer using reference counting, and serves multiple
Parent instances (multi-dimensional arrays). The goal is to free the
buffer as soon as all related Parents have been destructed (either
explicitly by clear() or by the GC).


More information about the Digitalmars-d-learn mailing list