digitalmars.D.bugs - [Issue 7333] New: interfaceToC should mention __gshared
- d-bugmail puremagic.com (23/23) Jan 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7333
- d-bugmail puremagic.com (12/12) Jan 21 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7333
http://d.puremagic.com/issues/show_bug.cgi?id=7333
Summary: interfaceToC should mention __gshared
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: websites
AssignedTo: nobody puremagic.com
ReportedBy: jmdavisProg gmx.com
PST ---
If I'm not mistaken, C global variables should be marked with __gshared for
them to work correctly, since without that, they're end up being thread-local
per D's type system.
http://dlang.org/interfaceToC.html
does not mention __gshared at all. It should explain that __gshared should be
used on C global variable declarations in order for them not be treated as
thread-local by the compiler.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 20 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7333
Walter Bright <bugzilla digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla digitalmars.com
Resolution| |WORKSFORME
01:30:40 PST ---
It does now.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 21 2012








d-bugmail puremagic.com