summaryrefslogtreecommitdiff
path: root/src/vm/threads.h
diff options
context:
space:
mode:
authorKoundinya Veluri <kouvel@users.noreply.github.com>2017-09-08 14:19:05 -0700
committerJan Kotas <jkotas@microsoft.com>2017-09-08 14:19:05 -0700
commit03260fda5966a8dda85dc116f9421ce1f0b436ef (patch)
tree49682d8405f6c068d527c7a6a173f5c03ed9f9ab /src/vm/threads.h
parent72201862c9b646ca651b686c5d7df9b71ca033e8 (diff)
downloadcoreclr-03260fda5966a8dda85dc116f9421ce1f0b436ef.tar.gz
coreclr-03260fda5966a8dda85dc116f9421ce1f0b436ef.tar.bz2
coreclr-03260fda5966a8dda85dc116f9421ce1f0b436ef.zip
Change lock used for initializing YieldProcessorNormalized from Crst to CrstStatic (#13857)
Fixes https://github.com/dotnet/coreclr/issues/13779
Diffstat (limited to 'src/vm/threads.h')
-rw-r--r--src/vm/threads.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vm/threads.h b/src/vm/threads.h
index be36fe624e..4000f216f4 100644
--- a/src/vm/threads.h
+++ b/src/vm/threads.h
@@ -5364,6 +5364,7 @@ public:
#endif // FEATURE_HIJACK
private:
+ static CrstStatic s_initializeYieldProcessorNormalizedCrst;
static int s_yieldsPerNormalizedYield;
static int s_optimalMaxNormalizedYieldsPerSpinIteration;