5 writes to _lastCopy
System.Threading.Channels (5)
src\libraries\Common\src\System\Collections\Concurrent\SingleProducerSingleConsumerQueue.cs (5)
117newSegment._state._lastCopy = 1; 184segment._state._lastCopy = segment._state._last; 210segment._state._lastCopy = segment._state._last; // Refresh _lastCopy to ensure that _first has not passed _lastCopy 258segment._state._lastCopy = segment._state._last; 282segment._state._lastCopy = segment._state._last; // Refresh _lastCopy to ensure that _first has not passed _lastCopy
6 references to _lastCopy
System.Threading.Channels (6)
src\libraries\Common\src\System\Collections\Concurrent\SingleProducerSingleConsumerQueue.cs (6)
139if (first != segment._state._lastCopy) 161if (first != segment._state._lastCopy) 182if (segment._state._last != segment._state._lastCopy) 227if (first != segment._state._lastCopy) 256if (segment._state._last != segment._state._lastCopy) 305if (head._state._first != head._state._lastCopy)