[Issue 4138] New: Enable __thread storage class (TLS) on D1
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat May  1 11:31:19 PDT 2010
    
    
  
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: nobody at puremagic.com
        ReportedBy: nfxjfg at gmail.com
--- Comment #0 from nfxjfg at gmail.com 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: -------
    
    
More information about the Digitalmars-d-bugs
mailing list