[Issue 5338] __gshared on class member variable implies static?
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jan 20 13:40:41 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5338
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla at digitalmars.com
Resolution| |WORKSFORME
--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> 2012-01-20 13:40:39 PST ---
>From attributes.html:
"__gshared may also be applied to member variables and local variables. In
these cases, __gshared is equivalent to static, except that the variable is
shared by all threads rather than being thread local."
--
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