2 writes to m_tail
mscorlib (2)
system\threading\Tasks\ProducerConsumerQueues.cs (2)
153
m_head =
m_tail
= new Segment(INIT_SEGMENT_SIZE);
203
m_tail
= newSegment;
3 references to m_tail
mscorlib (3)
system\threading\Tasks\ProducerConsumerQueues.cs (3)
160
Segment segment =
m_tail
;
189
int newSegmentSize =
m_tail
.m_array.Length << 1; // double size
202
Volatile.Write(ref
m_tail
.m_next, newSegment); // ensure segment not published until item is fully stored