File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ int ThreadpoolMgr::ThreadAdjustmentInterval;
112112#define GATE_THREAD_DELAY_TOLERANCE 50 /* milliseconds*/
113113#define DELAY_BETWEEN_SUSPENDS (5000 + GATE_THREAD_DELAY) // time to delay between suspensions
114114
115- LONG ThreadpoolMgr::Initialization= 0 ; // indicator of whether the threadpool is initialized.
115+ Volatile< LONG> ThreadpoolMgr::Initialization = 0 ; // indicator of whether the threadpool is initialized.
116116
117117bool ThreadpoolMgr::s_usePortableThreadPool = false ;
118118
Original file line number Diff line number Diff line change @@ -1038,7 +1038,7 @@ class ThreadpoolMgr
10381038#endif // #ifndef DACCESS_COMPILE
10391039 // Private variables
10401040
1041- static LONG Initialization; // indicator of whether the threadpool is initialized.
1041+ static Volatile< LONG> Initialization; // indicator of whether the threadpool is initialized.
10421042
10431043 static bool s_usePortableThreadPool;
10441044
You can’t perform that action at this time.
0 commit comments