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)
66
internal bool IsInitialized { get { return
_indexRanges
!= null; } }
97
int numIndexRangesToVisit =
_indexRanges
.Length;
102
IndexRange currentRange =
_indexRanges
[_nCurrentIndexRange];
106
StrongBox<long>? sharedCurrentIndexOffset =
_indexRanges
[_nCurrentIndexRange]._nSharedCurrentIndexOffset;
109
Interlocked.CompareExchange(ref
_indexRanges
[_nCurrentIndexRange]._nSharedCurrentIndexOffset, new StrongBox<long>(0), null);
110
sharedCurrentIndexOffset =
_indexRanges
[_nCurrentIndexRange]._nSharedCurrentIndexOffset!;
160
Interlocked.Exchange(ref
_indexRanges
[_nCurrentIndexRange]._bRangeFinished, true);
165
_nCurrentIndexRange = (_nCurrentIndexRange + 1) %
_indexRanges
.Length;