Windows DLLs and TLS

Denis Shelomovskij verylonglogin.reg at gmail.com
Mon Oct 8 12:41:37 PDT 2012


08.10.2012 23:06, Jakob Ovrum пишет:
> On Monday, 8 October 2012 at 19:19:58 UTC, Denis Shelomovskij wrote:
>> As I said, give us a runnable failing test suite.
>
> I am working on it, but as I said, it's proving very difficult to
> replicate outside the XChat environment. I'll try to produce a reduced
> plugin though.
>
>>
>> As you are running Windows 7 the only reason I see is this nasty trap:
>> http://d.puremagic.com/issues/show_bug.cgi?id=8130
>>
>> Are you aware of it?
>
> I am using a .def file, and my exported functions are being called.
> That's how I can tell that TLS is not working properly in the first place.

To reduce called stuff try not to call D runtime initializers as it 
isn't required to set up TLS on Windows 6.x (as in test libs from my 
post in this thread).

-- 
Денис В. Шеломовский
Denis V. Shelomovskij


More information about the Digitalmars-d mailing list