Thread will get garbage collected?

thedeemon via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 16 23:53:32 PST 2017


On Monday, 16 January 2017 at 22:08:56 UTC, JN wrote:

> Am I correctly understanding, that after going out of scope, 
> it's possible for GC to destroy my thread before the file 
> finishes loading? How to prevent GC from destroying my thread 
> before it finishes and make sure the file is loaded completely?

As far as I know, GC never kills threads.


More information about the Digitalmars-d-learn mailing list