1 write to _indexRanges
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\ParallelRangeManager.cs (1)
257
_indexRanges
= new IndexRange[nNumRanges];
8 references to _indexRanges
System.Threading.Tasks.Parallel (8)
System\Threading\Tasks\ParallelRangeManager.cs (8)
263
_indexRanges
[i]._nFromInclusive = nCurrentIndex;
264
_indexRanges
[i]._nSharedCurrentIndexOffset = null;
265
_indexRanges
[i]._bRangeFinished = false;
281
_indexRanges
[i]._nToExclusive = nCurrentIndex;
291
Debug.Assert(
_indexRanges
!= null &&
_indexRanges
.Length != 0);
293
int nInitialRange = (Interlocked.Increment(ref _nCurrentIndexRangeToAssign) - 1) %
_indexRanges
.Length;
295
return new RangeWorker(
_indexRanges
, nInitialRange, _nStep, _use32BitCurrentIndex);