On 13.03.2017 14:35, M-exe wrote:
On Friday, 10 March 2017 at 21:32:05 UTC, sarn wrote:
On Friday, 10 March 2017 at 19:24:29 UTC, bauss wrote:
Mark your variables with __gshared. I would say shred, but it has
some restrictions to it, where __gshared is the equivalent to global
variables in C.
immutable variables are also not put in TLS.
Thank you for yours replys but there is a tls directory even when I
compile empty main..
It's very likely that there are TLS variables in druntime that are
linked in. You can identify them by looking at the map file.