Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Making static variables thread safe

$
0
0

Hi,

I have an application which has arround 50 static variables. what is the best way to make them thread safe because we are planning to run the application on multiple threads. Is using ThreadStatic attribute to all the variables a right approach??

Thanks




Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>