1 write to _mergeHelper
System.Linq.Parallel (1)
System\Linq\Parallel\Merging\OrderPreservingPipeliningMergeHelper.cs (1)
254
_mergeHelper
= mergeHelper;
15 references to _mergeHelper
System.Linq.Parallel (15)
System\Linq\Parallel\Merging\OrderPreservingPipeliningMergeHelper.cs (15)
286
for (int producer = 0; producer <
_mergeHelper
._partitions.PartitionCount; producer++)
354
if (
_mergeHelper
._taskGroupState.CancellationState.MergedCancellationToken.IsCancellationRequested)
361
object[] locks =
_mergeHelper
._bufferLocks;
392
Queue<Pair<TKey, TOutput>> buffer =
_mergeHelper
._buffers[producer];
393
object bufferLock =
_mergeHelper
._bufferLocks[producer];
400
if (
_mergeHelper
._producerDone[producer])
409
_mergeHelper
._consumerWaiting[producer] = true;
415
Debug.Assert(
_mergeHelper
._producerDone[producer]);
425
if (
_mergeHelper
._producerWaiting[producer])
429
_mergeHelper
._producerWaiting[producer] = false;
441
_privateBuffer[producer] =
_mergeHelper
._buffers[producer];
444
_mergeHelper
._buffers[producer] = new Queue<Pair<TKey, TOutput>>(INITIAL_BUFFER_SIZE);
482
int partitionCount =
_mergeHelper
._buffers.Length;
485
object bufferLock =
_mergeHelper
._bufferLocks[producer];
488
if (
_mergeHelper
._producerWaiting[producer])