garbage collector question

Hoenir mrmocool at gmx.de
Tue Jul 24 06:43:15 PDT 2007


Jarrett Billingsley schrieb:
>> I'm wondering when and how to "disable" the GC and do the memory mangement 
>> yourself?
> 
> import std.gc;
> std.gc.disable(); 

I don't want to disable it completely. I'm just wondering when it is 
advantageous to do MM yourself and how to do it.
How to prevent a variable from being deleted by the GC and such stuff.
But thanks for your answer. :)


More information about the Digitalmars-d-learn mailing list