DIP45: fixing the dllimport/dllexport issue

David Nadlinger code at klickverbot.at
Sat Sep 7 14:47:35 PDT 2013


On Friday, 6 September 2013 at 02:00:22 UTC, Martin Nowak wrote:
> Yes, it has a bunch of special relocations and runtime linker 
> support for this.
> It would be nice if someone could figure out and summarize all 
> the TLS index and TIB business on Windows.
>
> http://msdn.microsoft.com/en-us/library/windows/desktop/ms686997(v=vs.85).aspx
> http://en.wikipedia.org/wiki/Thread-local_storage#Windows_implementation
> http://en.wikipedia.org/wiki/Win32_Thread_Information_Block

Best material I found on Windows TLS so far: 
http://www.nynaeve.net/?s=tls

Haven't really looked into the interaction between multiple DLLs 
at all so far, though.

David


More information about the Digitalmars-d mailing list