Using std.stdio.File in a class

monarch_dodra monarchdodra at gmail.com
Tue Apr 8 08:32:21 PDT 2014


On Tuesday, 8 April 2014 at 15:18:20 UTC, Steven Schveighoffer 
wrote:
> Just a word of caution, I don't think the RAII semantics of 
> File work properly in multithreaded code when the File is 
> destroyed by the GC.
>
> -Steve

RAII doesn't work correctly with GC, period.


More information about the Digitalmars-d-learn mailing list