Use of mutex in destructors

Steven Schveighoffer schveiguy at yahoo.com
Fri Apr 27 10:11:15 PDT 2012


On Fri, 27 Apr 2012 12:16:46 -0400, Rene Zwanenburg  
<renezwanenburg at gmail.com> wrote:

> I've run a few times in the 'dtor allocating memory' problem, but it's  
> usually easy enough to work around. One more question: Is that a  
> limitation of the current GC implementation, or something intrinsic to  
> garbage collection in general?

I think it's a current GC limitation, but I'm not sure it will get fixed  
any time soon.  There are so many better ways we can improve the GC :)

-Steve


More information about the Digitalmars-d-learn mailing list