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