====== Thread-local storage ====== See an explanation on [[http://en.wikipedia.org/wiki/Thread-local_storage|Wikipedia]] and on [[http://msdn.microsoft.com/en-us/library/ms686749(VS.85).aspx|MSDN]]. Additional notes: * In an x86 environment, the [[FS]] register points to the current value of the "Thread Information Block" (TIB) structure. [[http://msdn.microsoft.com/en-us/library/ms253960%28VS.80%29.aspx|(ref.)]],[[http://forum.sysinternals.com/fs-register_topic18666_post95277.html|(ref.)]] * Wikipedia on [[http://en.wikipedia.org/wiki/Win32_Thread_Information_Block|TIB (Thread Information Block) / TEB (Thread Environment Block)]] * specifically, ''FS'':''0x2C'' - "Linear address of the [[http://en.wikipedia.org/wiki/Thread-local_storage|thread-local storage]] array" -- see also: [[get tls]] ===== See also ===== * [[get tls]] * [[M]], [[G]]