On 09/01/2013 09:33 PM, Benjamin Thaut wrote:

I didn't know linux has a facility for accessing TLS data across shared
library boundaries. I will put the implementation suggestion into the
windows specific section then.

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

Reply via email to