User Tools

Site Tools


go:internals:thread-local_storage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

go:internals:thread-local_storage [2019/03/04 11:55] (current)
fgm created
Line 1: Line 1:
 +====== 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]]
  
go/internals/thread-local_storage.txt · Last modified: 2019/03/04 11:55 by fgm