A Refcounted Array Type

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Thu Feb 26 16:40:12 PST 2015


On Thursday, 26 February 2015 at 21:07:26 UTC, Andrei 
Alexandrescu wrote:
> Could you please walk me through what the matter is here. 
> Thanks. -- Andrei

1/ The originating thread is likely to be dead by the time we 
collect.
2/ The RefCounted Stuff crossed thread boundaries so even if we 
kept the thread alive somehow to be able to destruct as 
mentioned, this is still not thread safe.


More information about the Digitalmars-d mailing list