www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4138] New: Enable __thread storage class (TLS) on D1

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: nfxjfg gmail.com



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: -------
May 01 2010
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4138


nfxjfg gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 06 2011