4 writes to _head
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (4)
67
_tail =
_head
= new ConcurrentQueueSegment<T>(InitialSegmentLength);
102
_tail =
_head
= new ConcurrentQueueSegment<T>(length);
731
_head
= head._nextSegment;
824
_tail =
_head
= new ConcurrentQueueSegment<T>(InitialSegmentLength);
10 references to _head
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (10)
52
/// Lock used to protect cross-segment operations, including any updates to <see cref="_tail"/> or <see cref="
_head
"/>
264
ConcurrentQueueSegment<T> head =
_head
;
276
if (head ==
_head
&&
290
if (head ==
_head
&&
310
if (head ==
_head
&& tail == _tail)
497
head =
_head
;
671
ConcurrentQueueSegment<T> head =
_head
;
697
ConcurrentQueueSegment<T> head =
_head
;
729
if (head ==
_head
)
761
ConcurrentQueueSegment<T> s =
_head
;