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