Confused about TLS!!

Login to reply to this topic.
Tue, 2004-10-26 16:39
Joined: 2004-06-11
Forum posts: 404
Hi all,
I have read that : 'TLS is one word of writable static data per thread'. Roll Eyes
So how can i use it to store a hell lot more global data than 1 word. Roll Eyes
Pls explain to me what is TLS and how it works?
Thanks.
--Mayur.


Tue, 2004-10-26 17:55
Joined: 2004-08-17
Forum posts: 52
Confused about TLS!!
You can think about Thread-Local Storage as a global-accessible variable that you can point to by using an OS-dependent way.
See my post here for info on how to use by code
http://forum.newlc.com/viewtopic.php?p=9344&highlight=#9344
  • Login to reply to this topic.