Thread overview
[Issue 5582] New: Improvements to the DLL startup code
Feb 15, 2011
Rainer Schuetze
Feb 15, 2011
Rainer Schuetze
May 21, 2012
Denis Shelomovskij
May 21, 2012
Denis Shelomovskij
February 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5582

           Summary: Improvements to the DLL startup code
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nobody@puremagic.com
        ReportedBy: r.sagitario@gmx.de


--- Comment #0 from Rainer Schuetze <r.sagitario@gmx.de> 2011-02-14 23:09:54 PST ---
Created an attachment (id=909)
DLL startup improvements

I have a few improvements to the startup code to DLLs:

1. Make the TLS patch work under Windows Server 2003 and XP/64

2. On a 64-bit OS, there sometimes seem to exist threads that don't have any TLS set up, so ignore these threads, assuming they are low level system threads.

3. improve TLS setup of already existing threads by not only switching the TLS entry of the current DLL, but simply the full TLS array of the current thread.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5582



--- Comment #1 from Rainer Schuetze <r.sagitario@gmx.de> 2011-02-14 23:32:25 PST ---
Created an attachment (id=911)
missing change from previous patch

Sorry, missed this change. (Is there a way to get a single patch across
multiple commits from git?).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 21, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5582


Denis Shelomovskij <verylonglogin.reg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |verylonglogin.reg@gmail.com


--- Comment #2 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2012-05-21 15:23:11 MSD ---
https://github.com/D-Programming-Language/druntime/pull/13

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 21, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5582


Denis Shelomovskij <verylonglogin.reg@gmail.com> changed:

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


--- Comment #3 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2012-05-21 15:24:06 MSD ---
druntime pull 13 was merged: https://github.com/D-Programming-Language/druntime/commit/3b75e61db816d831f379ded88963a8c869cd2f4b

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