[Issue 5582] New: Improvements to the DLL startup code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 14 23:12:26 PST 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 at puremagic.com
        ReportedBy: r.sagitario at gmx.de


--- Comment #0 from Rainer Schuetze <r.sagitario at 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: -------


More information about the Digitalmars-d-bugs mailing list