GetCleanCounts to Volatile read on x64
authorBen Adams <thundercat@illyriad.co.uk>
Fri, 29 Jul 2016 00:23:54 +0000 (01:23 +0100)
committerBen Adams <thundercat@illyriad.co.uk>
Tue, 9 Aug 2016 20:00:07 +0000 (21:00 +0100)
commite5ef90f4996ae07ca4ef9c1d73e977e3565c2ff1
tree542bbc713794760ddb9077e5fbade13d7435099c
parent6fb149dc0e81f759b2ee24854f1f57b885955190
GetCleanCounts to Volatile read on x64

Use GetCleanCounts where result is used directly and
DangerousGetDirtyCounts when used as part of compare exchange loop

Commit migrated from https://github.com/dotnet/coreclr/commit/2de9a699402abc72b5cb998370838ecf6d84f00e
src/coreclr/src/vm/win32threadpool.cpp
src/coreclr/src/vm/win32threadpool.h