Make sure TLS (thread local storage) is always TLS and not FLS (fiber local storage).
authorJay Krell <jaykrell@microsoft.com>
Wed, 3 Jul 2019 09:35:11 +0000 (02:35 -0700)
committerLarry Ewing <lewing@microsoft.com>
Wed, 3 Jul 2019 20:45:47 +0000 (15:45 -0500)
commit2fc22b18205357319b7afca37952fabcd9ac503a
tree04147147ff13cac257f8ae95d0b4a3ed5e39c41c
parenta50c34c02f5b633307ccd2e067131b17e4d3fa46
Make sure TLS (thread local storage) is always TLS and not FLS (fiber local storage).
The Windows SDKs are inconsistent (and clearly documented as so), and the JIT assumes TLS.

Commit migrated from https://github.com/mono/mono/commit/167709be8ca7f85975b47e4e2925c413f01770a7
src/mono/mono/utils/mono-tls.h