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

Reply via email to