1 write to _buffer
System.Linq.Parallel (1)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (1)
125
_buffer
= new T[capacity + 1][];
6 references to _buffer
System.Linq.Parallel (6)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (6)
161
(consumerIndex == 0 && producerIndex ==
_buffer
.Length - 1);
299
_buffer
[bufferIndex] = chunk;
305
Interlocked.Exchange(ref _producerBufferIndex, (bufferIndex + 1) %
_buffer
.Length);
611
T[] chunk =
_buffer
[consumerBufferIndex]!;
615
_buffer
[consumerBufferIndex] = null;
621
Interlocked.Exchange(ref _consumerBufferIndex, (consumerBufferIndex + 1) %
_buffer
.Length);