2 writes to _tail
System.Private.CoreLib (2)
src\libraries\Common\src\System\Collections\Concurrent\SingleProducerSingleConsumerQueue.cs (2)
73_head = _tail = new Segment(InitialSegmentSize); 125_tail = newSegment;
3 references to _tail
System.Private.CoreLib (3)
src\libraries\Common\src\System\Collections\Concurrent\SingleProducerSingleConsumerQueue.cs (3)
80Segment segment = _tail; 111int newSegmentSize = Math.Min(_tail._array.Length * 2, MaxSegmentSize); 124Volatile.Write(ref _tail._next, newSegment); // ensure segment not published until item is fully stored