This loader does not support __declspec(thread) variables at all.
Any attempt to access those variables will lead to a crash or memory corruption.
The reason is, that the loader does NOT initialize the implicit tls index (not to be confused with the conventional manual one) at all.
Please read http://www.nynaeve.net/?p=185 for a background on this.
Thanks for your attention.
This loader does not support __declspec(thread) variables at all.
Any attempt to access those variables will lead to a crash or memory corruption.
The reason is, that the loader does NOT initialize the implicit tls index (not to be confused with the conventional manual one) at all.
Please read http://www.nynaeve.net/?p=185 for a background on this.
Thanks for your attention.