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; 291Debug.Assert(_indexRanges != null && _indexRanges.Length != 0); 293int nInitialRange = (Interlocked.Increment(ref _nCurrentIndexRangeToAssign) - 1) % _indexRanges.Length; 295return new RangeWorker(_indexRanges, nInitialRange, _nStep, _use32BitCurrentIndex);