1 write to _indexRanges
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\ParallelRangeManager.cs (1)
73_indexRanges = ranges;
8 references to _indexRanges
System.Threading.Tasks.Parallel (8)
System\Threading\Tasks\ParallelRangeManager.cs (8)
66internal bool IsInitialized { get { return _indexRanges != null; } } 97int numIndexRangesToVisit = _indexRanges.Length; 102IndexRange currentRange = _indexRanges[_nCurrentIndexRange]; 106StrongBox<long>? sharedCurrentIndexOffset = _indexRanges[_nCurrentIndexRange]._nSharedCurrentIndexOffset; 109Interlocked.CompareExchange(ref _indexRanges[_nCurrentIndexRange]._nSharedCurrentIndexOffset, new StrongBox<long>(0), null); 110sharedCurrentIndexOffset = _indexRanges[_nCurrentIndexRange]._nSharedCurrentIndexOffset!; 160Interlocked.Exchange(ref _indexRanges[_nCurrentIndexRange]._bRangeFinished, true); 165_nCurrentIndexRange = (_nCurrentIndexRange + 1) % _indexRanges.Length;