summaryrefslogtreecommitdiff
path: root/src/inc/apithreadstress.h
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2017-04-13 05:17:19 (GMT)
committerJiyoung Yun <jy910.yun@samsung.com>2017-04-13 05:17:19 (GMT)
commita56e30c8d33048216567753d9d3fefc2152af8ac (patch)
tree7e5d979695fc4a431740982eb1cfecc2898b23a5 /src/inc/apithreadstress.h
parent4b11dc566a5bbfa1378d6266525c281b028abcc8 (diff)
downloadcoreclr-a56e30c8d33048216567753d9d3fefc2152af8ac.zip
coreclr-a56e30c8d33048216567753d9d3fefc2152af8ac.tar.gz
coreclr-a56e30c8d33048216567753d9d3fefc2152af8ac.tar.bz2
Imported Upstream version 2.0.0.11353upstream/2.0.0.11353
Diffstat (limited to 'src/inc/apithreadstress.h')
-rw-r--r--src/inc/apithreadstress.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/inc/apithreadstress.h b/src/inc/apithreadstress.h
index fc18dcc..a0c6cde 100644
--- a/src/inc/apithreadstress.h
+++ b/src/inc/apithreadstress.h
@@ -46,37 +46,6 @@
#include "utilcode.h"
-#ifdef STRESS_THREAD
-
-class APIThreadStress
-{
- public:
- APIThreadStress();
- ~APIThreadStress();
-
- BOOL DoThreadStress();
- static void SyncThreadStress();
-
- static void SetThreadStressCount(int count);
-
- protected:
- virtual void Invoke() {LIMITED_METHOD_CONTRACT;};
-
- private:
- static DWORD WINAPI StartThread(void *arg);
-
- static int s_threadStressCount;
-
- int m_threadCount;
- HANDLE *m_hThreadArray;
- BOOL m_setupOK;
- LONG m_runCount;
- HANDLE m_syncEvent;
-
-};
-
-#else // STRESS_THREAD
-
class APIThreadStress
{
public:
@@ -85,6 +54,4 @@ class APIThreadStress
static void SetThreadStressCount(int count) { }
};
-#endif // STRESS_THREAD
-
#endif // _APITHREADSTRESS_H_