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: nob...@puremagic.com ReportedBy: jmdavisp...@gmx.com --- Comment #0 from Jonathan M Davis <jmdavisp...@gmx.com> 2012-01-20 22:11:15 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: -------