On 11/23/2015 11:08 PM, Kurt Roeckx wrote: > I think that we currently don't do any compile / link test to > detect features but that we instead explicitly say so for each > platform. > > Anyway, the gcc the documentation is here: > https://gcc.gnu.org/onlinedocs/gcc/Thread-Local.html > > TLS support clearly isn't supported everywhere.
The most portable approach is to switch C++11, which provides you thread-local variables with destructors (and you also get portable atomics). There are simply no standards-based C solutions as long as you have to support the Microsoft compiler under Windows. Florian _______________________________________________ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev