http://d.puremagic.com/issues/show_bug.cgi?id=10108



--- Comment #4 from Alex R�nne Petersen <[email protected]> 2013-05-17 20:12:27 
CEST ---
(In reply to comment #2)
> When a thread local variable is a reference type to modifiable data, we must
> make sure that it is initialized uniquely.
> 
> This is what the current implementation does which results in hidden sharing.
> 
> __gshared int[] gArr = [1,2,3];
> int[] arr = gArr;

Ah, I understand. Carry on. :)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to