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