7 writes to m_tailIndex
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (7)
135m_tailIndex = tail + 1; 159m_tailIndex = tail = count; 168m_tailIndex = tail + 1; 204m_tailIndex = tail = m_tailIndex & m_mask; 256m_tailIndex--; 287Interlocked.Exchange(ref m_tailIndex, tail); 324m_tailIndex = tail + 1;
13 references to m_tailIndex
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (13)
119int tail = m_tailIndex; 146int count = m_tailIndex - m_headIndex; 190int tail = m_tailIndex; 204m_tailIndex = tail = m_tailIndex & m_mask; 205Debug.Assert(m_headIndex <= m_tailIndex); 220if (m_array[(m_tailIndex - 1) & m_mask] == obj) 235for (int i = m_tailIndex - 2; i >= m_headIndex; i--) 255if (i == m_tailIndex) 273public object? LocalPop() => m_headIndex < m_tailIndex ? LocalPopCore() : null; 279int tail = m_tailIndex; 337public bool CanSteal => m_headIndex < m_tailIndex; 355if (head < m_tailIndex) 394return Math.Max(0, m_tailIndex - m_headIndex);