about TLS and GCC
Jonathan Wilson
jonwil@tpgi.com.au
Mon Oct 20 15:09:00 GMT 2003
After looking into GCC, its becoming clear that TLS as implemented by GCC
(and by the various unix-ish platforms and libraries that provide the
runtime support for it) and TLS as implemented by Visual C++ and the
Windows Kernel are totally different and its not going to be possible to
implement win32 TLS as a special case in the existing TLS handler.
For starters, win32 doesnt have any "TLS access models", it only ever
supports one model. (but because there is no clear documentation on just
what the different access models in GCC actually mean, I cant say if win32
matches any of them or none of them at all)
Any help to implement TLS in GCC would be much appreciated :)
To be fair, I suspect that many of the things that make GCC so complex come
from the need to support all sorts of different language front ends, target
back ends & host systems while at the same time using as little
language-specific, target-specific and host-specific code as possible.
More information about the Gcc
mailing list