Proposal: GC and "delete"
Brian White
bcwhite at pobox.com
Sat Apr 5 23:22:43 PDT 2008
Would it be possible to add a lightweight flag to the GC module to
detect if the GC was currently running? That would allow an object to
conditionally delete sub-objects only if it was safe to do so (i.e. only
if not being deleted by the GC).
Alternatively, the "delete" could just do nothing at all during a GC
pass. This would probably be the safest solution.
-- Brian
More information about the Digitalmars-d
mailing list