diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2015-12-15 15:45:48 +0300 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2016-01-12 19:41:10 +0300 |
commit | 9e0eb8b241fc53cc0d1969f78985ec6d31e42820 (patch) | |
tree | b3a8e56e6fad59e3796ed3521de374cf4308bf47 /src/Native/Runtime/Crst.h | |
parent | a3526d82f27410166dcc21c173de4cd4d80f4cdd (diff) |
GC to OS interface refactoring
Port changes from CoreCLR
Update Runtime as needed
Remove functions that are not needed anymore for Unix
Diffstat (limited to 'src/Native/Runtime/Crst.h')
-rw-r--r-- | src/Native/Runtime/Crst.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/Native/Runtime/Crst.h b/src/Native/Runtime/Crst.h index c267a3c0c..d087f9cc4 100644 --- a/src/Native/Runtime/Crst.h +++ b/src/Native/Runtime/Crst.h @@ -3,21 +3,6 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // -// Abstracted thread ID. This doesn't really belong in this file, but there is not currently any better place -// for it. -class EEThreadId -{ -public: - EEThreadId(uint32_t uiId) : m_uiId(uiId) {} -#ifndef DACCESS_COMPILE - bool IsSameThread(); -#endif - -private: - uint32_t m_uiId; -}; - - // // ----------------------------------------------------------------------------------------------------------- // @@ -67,8 +52,7 @@ public: private: CRITICAL_SECTION m_sCritSec; #if defined(_DEBUG) - uint32_t m_uiOwnerId; - static const uint32_t UNOWNED = 0; + EEThreadId m_uiOwnerId; #endif // _DEBUG }; |