RefCounted status

Erik Smith via Digitalmars-d digitalmars-d at puremagic.com
Sat Feb 20 10:03:55 PST 2016


My understanding is that using RefCounted is the recommended 
approach for implementing value types involving shared resources 
that require deterministic lifetimes.   However, there has 
historically been a race condition involving RefCounted 
destruction and GC.  Is there a solution for this?

There is a long discussion about the issue  
(http://forum.dlang.org/thread/i8i8g3$2rof$1@digitalmars.com) and 
it relates to bug 4624.

erik



More information about the Digitalmars-d mailing list