http://d.puremagic.com/issues/show_bug.cgi?id=4138
Summary: Enable __thread storage class (TLS) on D1
Product: D
Version: future
Platform: Other
OS/Version: All
Status: NEW
Keywords: patch
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2010-05-01 11:31:18 PDT ---
Created an attachment (id=617)
__thread on D1
Enable the __thread storage class in D1. This enables D1 programs to optionally
make use of thread local storage (TLS). Note that this also can ease porting D1
programs to D2.
This doesn't break any existing D1 code, as identifiers starting with __ are
compiler reserved.
I appended a patch; it is embarrassingly simple.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------