diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-03-08 00:41:21 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-03-09 08:46:07 -0800 |
commit | 618e798e3ba00e8b95158fd1d7081ca91cc43bf5 (patch) | |
tree | 091b7e7719d83d7408d623c82a3deaeca96e67ed /src/vm/simplerwlock.hpp | |
parent | b219fbbe1fe72b4a44b5247c9a77f9447d34b028 (diff) | |
download | coreclr-618e798e3ba00e8b95158fd1d7081ca91cc43bf5.tar.gz coreclr-618e798e3ba00e8b95158fd1d7081ca91cc43bf5.tar.bz2 coreclr-618e798e3ba00e8b95158fd1d7081ca91cc43bf5.zip |
Delete dead code
- Delete BINDER, STANDALONE_BINDER and MDIL ifdefs
Diffstat (limited to 'src/vm/simplerwlock.hpp')
-rw-r--r-- | src/vm/simplerwlock.hpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/vm/simplerwlock.hpp b/src/vm/simplerwlock.hpp index 9a6e70ab83..7800b8d2a0 100644 --- a/src/vm/simplerwlock.hpp +++ b/src/vm/simplerwlock.hpp @@ -8,9 +8,7 @@ #ifndef _SimpleRWLock_hpp_ #define _SimpleRWLock_hpp_ -#ifndef BINDER #include "threads.h" -#endif class SimpleRWLock; @@ -150,11 +148,7 @@ public: } CONTRACTL_END; m_RWLock = 0; -#ifdef CLR_STANDALONE_BINDER - m_spinCount = 0; -#else m_spinCount = (GetCurrentProcessCpuCount() == 1) ? 0 : 4000; -#endif m_WriterWaiting = FALSE; #ifdef _DEBUG @@ -180,12 +174,6 @@ public: // Acquire the writer lock. void EnterWrite(); -#ifdef BINDER - // Leave the reader lock. - void LeaveRead(); - // Leave the writer lock. - void LeaveWrite(); -#else // !BINDER // Leave the reader lock. void LeaveRead() { @@ -213,7 +201,6 @@ public: DECTHREADLOCKCOUNT(); EE_LOCK_RELEASED(this); } -#endif // !BINDER #endif // DACCESS_COMPILE |