Freeing of memory (garbage collection)
Daniel White
twinbee42 at skytopia.com
Tue Dec 9 08:08:28 PST 2008
> That would be a bad idea. Then how would you do manual memory
> management in the few cases that absolutely require it?
Two ways. Either:
a: being able to lock the variable so that the garbage collector
can't touch it until you unlock it.
b: Using a slightly different version of malloc (say 'mallocl') which again,
makes it shielded against the garbage collector's wrath.
More information about the Digitalmars-d-learn
mailing list