2 writes to m_producerChunkIndex
System.Core (2)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (2)
133
m_producerChunkIndex
= 0;
273
m_producerChunkIndex
= (producerChunkIndex + 1) % m_chunkSize;
6 references to m_producerChunkIndex
System.Core (6)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (6)
263
int producerChunkIndex =
m_producerChunkIndex
;
383
if (m_producerChunk != null &&
m_producerChunkIndex
!= 0)
386
Contract.Assert(1 <=
m_producerChunkIndex
&&
m_producerChunkIndex
<= m_chunkSize);
387
T[] leftOverChunk = new T[
m_producerChunkIndex
];
388
Array.Copy(m_producerChunk, leftOverChunk,
m_producerChunkIndex
);