[Issue 10108] Thread local slice to array literal references the same data
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri May 17 11:25:36 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10108
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla at digitalmars.com
Resolution| |INVALID
--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> 2013-05-17 11:25:36 PDT ---
The __gshared storage class is an end run around the type system. That's why it
has the __ prefix. So, yes, you can use it to get multithreaded "local" access
to global data without a compiler error.
This is as designed - it's a bug in the code example.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list