rfc:tls
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rfc:tls [2008/08/26 14:25] – . lbarnaud | rfc:tls [2008/08/26 14:28] – . lbarnaud | ||
---|---|---|---|
Line 99: | Line 99: | ||
==== Static model ==== | ==== Static model ==== | ||
- | Each block is allocated at a fixed (linker-defined) offset from an address specific to each thread. As this address can be accessed very quickly, this allows very quick access to each TLS block. For instance, on Linux/ | + | Each block is allocated at a fixed (loader-defined) offset from an address specific to each thread. As this address can be accessed very quickly, this allows very quick access to each TLS block. For instance, on Linux/ |
The way the static model works requires that the memory needed by each TLS variable to be allocated before program startup. This means that the static model can not be used in shared libraries loaded at runtime. | The way the static model works requires that the memory needed by each TLS variable to be allocated before program startup. This means that the static model can not be used in shared libraries loaded at runtime. |
rfc/tls.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1