diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-10-11 13:04:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-11 13:04:43 -0700 |
commit | 27a25bd37fa1fe6201c27709b1884e1b328f8beb (patch) | |
tree | 18b7773a7d8e18cca609417940804d8dff491da2 /src/vm/ceemain.cpp | |
parent | d07f1b24c4a69e6a205f8510f3dcfae0ad96aae8 (diff) | |
download | coreclr-27a25bd37fa1fe6201c27709b1884e1b328f8beb.tar.gz coreclr-27a25bd37fa1fe6201c27709b1884e1b328f8beb.tar.bz2 coreclr-27a25bd37fa1fe6201c27709b1884e1b328f8beb.zip |
Delete !FEATURE_IMPLICIT_TLS (#14398)
Linux and Windows arm64 are using the regular C/C++ thread local statics. This change unifies the remaining Windows architectures to be on the same plan.
Diffstat (limited to 'src/vm/ceemain.cpp')
-rw-r--r-- | src/vm/ceemain.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/vm/ceemain.cpp b/src/vm/ceemain.cpp index 44f5d8eb1d..9dbe2b9dff 100644 --- a/src/vm/ceemain.cpp +++ b/src/vm/ceemain.cpp @@ -2714,17 +2714,7 @@ BOOL STDMETHODCALLTYPE EEDllMain( // TRUE on success, FALSE on error. , TRUE #endif ); -#ifdef FEATURE_IMPLICIT_TLS Thread* thread = GetThread(); -#else - // Don't use GetThread because perhaps we didn't initialize yet, or we - // have already shutdown the EE. Note that there is a race here. We - // might ask for TLS from a slot we just released. We are assuming that - // nobody re-allocates that same slot while we are doing this. It just - // isn't worth locking for such an obscure case. - DWORD tlsVal = GetThreadTLSIndex(); - Thread *thread = (tlsVal != (DWORD)-1)?(Thread *) UnsafeTlsGetValue(tlsVal):NULL; -#endif if (thread) { #ifdef FEATURE_COMINTEROP |