1 write to m_mergeHelper
System.Core (1)
System\Linq\Parallel\Merging\OrderPreservingPipeliningMergeHelper.cs (1)
253
m_mergeHelper
= mergeHelper;
15 references to m_mergeHelper
System.Core (15)
System\Linq\Parallel\Merging\OrderPreservingPipeliningMergeHelper.cs (15)
285
for (int producer = 0; producer <
m_mergeHelper
.m_partitions.PartitionCount; producer++)
353
if (
m_mergeHelper
.m_taskGroupState.CancellationState.MergedCancellationToken.IsCancellationRequested)
359
object[] locks =
m_mergeHelper
.m_bufferLocks;
389
Queue<Pair<TKey, TOutput>> buffer =
m_mergeHelper
.m_buffers[producer];
390
object bufferLock =
m_mergeHelper
.m_bufferLocks[producer];
397
if (
m_mergeHelper
.m_producerDone[producer])
403
m_mergeHelper
.m_consumerWaiting[producer] = true;
409
Contract.Assert(
m_mergeHelper
.m_producerDone[producer]);
419
if (
m_mergeHelper
.m_producerWaiting[producer])
422
m_mergeHelper
.m_producerWaiting[producer] = false;
434
m_privateBuffer[producer] =
m_mergeHelper
.m_buffers[producer];
437
m_mergeHelper
.m_buffers[producer] = new Queue<Pair<TKey, TOutput>>(INITIAL_BUFFER_SIZE);
475
int partitionCount =
m_mergeHelper
.m_buffers.Length;
478
object bufferLock =
m_mergeHelper
.m_bufferLocks[producer];
481
if (
m_mergeHelper
.m_producerWaiting[producer])