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