1 write to m_indexRanges
mscorlib (1)
system\threading\Tasks\ParallelRangeManager.cs (1)
79
m_indexRanges
= ranges;
8 references to m_indexRanges
mscorlib (8)
system\threading\Tasks\ParallelRangeManager.cs (8)
103
int numIndexRangesToVisit =
m_indexRanges
.Length;
108
IndexRange currentRange =
m_indexRanges
[m_nCurrentIndexRange];
112
if (
m_indexRanges
[m_nCurrentIndexRange].m_nSharedCurrentIndexOffset == null)
114
Interlocked.CompareExchange(ref
m_indexRanges
[m_nCurrentIndexRange].m_nSharedCurrentIndexOffset, new Shared<long>(0), null);
126
fixed (long* indexPtr = &
m_indexRanges
[m_nCurrentIndexRange].m_nSharedCurrentIndexOffset.Value)
134
nMyOffset = Interlocked.Add(ref
m_indexRanges
[m_nCurrentIndexRange].m_nSharedCurrentIndexOffset.Value, m_nIncrementValue) - m_nIncrementValue;
165
Interlocked.Exchange(ref
m_indexRanges
[m_nCurrentIndexRange].m_bRangeFinished, 1);
170
m_nCurrentIndexRange = (m_nCurrentIndexRange + 1) %
m_indexRanges
.Length;