2 writes to _producerBufferIndex
System.Linq.Parallel (2)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (2)
126_producerBufferIndex = 0; 305Interlocked.Exchange(ref _producerBufferIndex, (bufferIndex + 1) % _buffer.Length);
3 references to _producerBufferIndex
System.Linq.Parallel (3)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (3)
152int producerIndex = _producerBufferIndex; 186return _producerBufferIndex == _consumerBufferIndex; 298int bufferIndex = _producerBufferIndex;