Thread local variables in betterC
Blatnik
blatblatnik at gmail.com
Sun May 9 21:42:54 UTC 2021
On Sunday, 9 May 2021 at 20:56:01 UTC, Ali Çehreli wrote:
> This is a long shot, but are you on OSX? I think TLS is handled
> specially for 32-bit OSX and that may somehow work in this
> case. (?)
Nope, I'm on (64bit) windows.
Another really weird thing is that if I compile this code in
VisualD (with the exact same flags, compiler and everything) it
runs just fine either as 64-bit or 32-bit..
This really doesn't make any sense at all.
Is there any way at all I can initialize these variables myself
without linking with druntime?
More information about the Digitalmars-d-learn
mailing list