Escaping the Tyranny of the GC: std.rcstring, first blood

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 22 06:06:46 PDT 2014


On Sunday, 21 September 2014 at 21:42:03 UTC, Ola Fosheim Grostad 
wrote:
> On Sunday, 21 September 2014 at 19:28:13 UTC, Kagamin wrote:
>> Only isolated cluster can safely migrate between threads. D 
>> has no means to check isolation, you should check it manually, 
>> and in addition check if the logic doesn't depend on tls.
>
> This can easily be borked if built in RC does not provide 
> threadsafety.

Isolated data is single-threaded w.r.t. concurrent access. What 
thread-safety do you miss? You should only check for 
environmental dependencies, which are not strictly related to 
concurrency.


More information about the Digitalmars-d mailing list