2 writes to _consumerBufferIndex
System.Linq.Parallel (2)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (2)
127_consumerBufferIndex = 0; 621Interlocked.Exchange(ref _consumerBufferIndex, (consumerBufferIndex + 1) % _buffer.Length);
3 references to _consumerBufferIndex
System.Linq.Parallel (3)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (3)
153int consumerIndex = _consumerBufferIndex; 186return _producerBufferIndex == _consumerBufferIndex; 610int consumerBufferIndex = _consumerBufferIndex;