4 instantiations of Segment
mscorlib (4)
system\Collections\Concurrent\ConcurrentQueue.cs (4)
68
m_head = m_tail = new
Segment
(0, this);
77
Segment localTail = new
Segment
(0, this);//use this local variable to avoid the extra volatile read/write. this is safe because it is only called from ctor
744
Segment newSegment = new
Segment
(m_index + 1, m_source); //m_index is Int64, we don't need to worry about overflow
757
Segment newSegment = new
Segment
(m_index + 1, m_source); //m_index is Int64, we don't need to worry about overflow
21 references to Segment
mscorlib (21)
system\Collections\Concurrent\ConcurrentQueue.cs (21)
50
private volatile
Segment
m_head;
53
private volatile
Segment
m_tail;
77
Segment
localTail = new Segment(0, this);//use this local variable to avoid the extra volatile read/write. this is safe because it is only called from ctor
265
Segment
head = m_head;
321
Segment
head, tail;
332
Segment
curr = head.Next;
357
private void GetHeadTailPositions(out
Segment
head, out
Segment
tail,
399
Segment
head, tail;
481
Segment
head, tail;
497
private IEnumerator<T> GetEnumerator(
Segment
head,
Segment
tail, int headLow, int tailHigh)
532
Segment
curr = head.Next;
582
Segment
tail = m_tail;
605
Segment
head = m_head;
628
Segment
head = m_head;
663
private volatile
Segment
m_next;
703
internal
Segment
Next
741
internal
Segment
UnsafeGrow()
744
Segment
newSegment = new Segment(m_index + 1, m_source); //m_index is Int64, we don't need to worry about overflow
757
Segment
newSegment = new Segment(m_index + 1, m_source); //m_index is Int64, we don't need to worry about overflow