September 30, 2005GC.disable() has no effect?
Posted in reply to David Gileadi
I suppose I shouldn't have made the below a P.S. in another topic, since that probably got it ignored. Again, I only did a quick look, but just wanted to see if this is really an issue or just my ignorance. >P.S. Is the garbage collector implemented entirely in D? I did a (very) quick >look through the GC code in Phobos and discovered that the call to disable() >seems to simply increment the GCX struct's disabled member. However, from what >I could tell, the disabled memeber is never read (except in an assert), so it >seems that calling disable() would have no effect. Am I way off-base here? -Dave
Copyright © 1999-2016 by Digital Mars ®, All Rights Reserved