Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2015-11-02 21:47:32 +0300
committerJan Kotas <jkotas@microsoft.com>2015-11-02 21:47:32 +0300
commitdc32ec423e18a212e24da1fea7d7910dad4f365f (patch)
tree6d85b413fed17750f0216d1826e427eae97c2604 /src/Native/Runtime/startup.cpp
parent2d46df66ecdc6371f2afcb50c0ded9a21a39157a (diff)
Delete !FEATURE_DECLSPEC_THREAD
Diffstat (limited to 'src/Native/Runtime/startup.cpp')
-rw-r--r--src/Native/Runtime/startup.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/Native/Runtime/startup.cpp b/src/Native/Runtime/startup.cpp
index 8b18ea07d..ae04a4be6 100644
--- a/src/Native/Runtime/startup.cpp
+++ b/src/Native/Runtime/startup.cpp
@@ -45,10 +45,6 @@ HANDLE RtuCreateRuntimeInstance(HANDLE hPalInstance);
bool RtuInitializeVSD();
#endif
-#ifndef FEATURE_DECLSPEC_THREAD
-EXTERN_C UInt32 _tls_index;
-#endif // FEATURE_DECLSPEC_THREAD
-
UInt32 _fls_index = FLS_OUT_OF_INDEXES;
@@ -96,25 +92,6 @@ bool InitDLL(HANDLE hPalInstance)
return false;
STARTUP_TIMELINE_EVENT(NONGC_INIT_COMPLETE);
-#ifdef FEATURE_DECLSPEC_THREAD
-#if !defined(MODERN_OS) && !defined(APP_LOCAL_RUNTIME)
- OSVERSIONINFOEXW osvi;
- osvi.dwOSVersionInfoSize = sizeof(osvi);
- if (!PalGetVersionExW(&osvi))
- return false;
-
- if (osvi.dwMajorVersion < 6)
- {
- ASSERT_MSG(osvi.dwMajorVersion >= 6, "NT version 6 or greater is required. (i.e. Vista or Server 2008)");
- return false;
- }
-#endif // !MODERN_OS && !APP_LOCAL_RUNTIME
-#else
- _tls_index = PalTlsAlloc();
- if (_tls_index > TLS_NUM_INLINE_SLOTS)
- return false;
-#endif // FEATURE_DECLSPEC_THREAD
-
_fls_index = PalFlsAlloc(FiberDetach);
if (_fls_index == FLS_OUT_OF_INDEXES)
return false;