go:internals:get_tls
This is an old revision of the document!
get tls
get_tls® is an assembly macro for retrieving the location (address) of Thread-local storage (TLS is thus an acronym). It is defined in automatically generated (during Go building) file asm.h.
For GOOS=386, get_tls® resolves to: MOVL 0x2c(FS), r
See also
go/internals/get_tls.1551700833.txt.gz · Last modified: (external edit)
