7 writes to m_tailIndex
System.Private.CoreLib (7)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (7)
132m_tailIndex = tail + 1; 156m_tailIndex = tail = count; 165m_tailIndex = tail + 1; 201m_tailIndex = tail = m_tailIndex & m_mask; 253m_tailIndex--; 284Interlocked.Exchange(ref m_tailIndex, tail); 321m_tailIndex = tail + 1;
13 references to m_tailIndex
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (13)
116int tail = m_tailIndex; 143int count = m_tailIndex - m_headIndex; 187int tail = m_tailIndex; 201m_tailIndex = tail = m_tailIndex & m_mask; 202Debug.Assert(m_headIndex <= m_tailIndex); 217if (m_array[(m_tailIndex - 1) & m_mask] == obj) 232for (int i = m_tailIndex - 2; i >= m_headIndex; i--) 252if (i == m_tailIndex) 270public object? LocalPop() => m_headIndex < m_tailIndex ? LocalPopCore() : null; 276int tail = m_tailIndex; 334public bool CanSteal => m_headIndex < m_tailIndex; 352if (head < m_tailIndex) 394return Math.Max(0, m_tailIndex - m_headIndex);