Simple question about TLS
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
- In MSDN, it is said TLS index is stored in a global variable. - I do not know whether it is a process-wide global variable or a thread-wide variable? - Can you help? - Regards, Maer
If I understand your question correctly, then... The TLS *index* ("slot" location) is a process-wide global variable. The value that is stored in the TLS (slot) location referenced by the index is Thread-specific. -=- James.
-
If I understand your question correctly, then... The TLS *index* ("slot" location) is a process-wide global variable. The value that is stored in the TLS (slot) location referenced by the index is Thread-specific. -=- James.