View mode: basic / threaded / horizontal-split · Log in · Help
September 30, 2005
GC.disable() has no effect?
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
Next ›   Last »
1 2 3
Top | Discussion index | About this forum | D home