7 writes to m_tailIndex
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (7)
131m_tailIndex = tail + 1; 155m_tailIndex = tail = count; 160m_tailIndex = tail + 1; 192m_tailIndex = tail = m_tailIndex & m_mask; 244m_tailIndex--; 275Interlocked.Exchange(ref m_tailIndex, tail); 312m_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; 142int count = m_tailIndex - m_headIndex; 178int tail = m_tailIndex; 192m_tailIndex = tail = m_tailIndex & m_mask; 193Debug.Assert(m_headIndex <= m_tailIndex); 208if (m_array[(m_tailIndex - 1) & m_mask] == obj) 223for (int i = m_tailIndex - 2; i >= m_headIndex; i--) 243if (i == m_tailIndex) 261public object? LocalPop() => m_headIndex < m_tailIndex ? LocalPopCore() : null; 267int tail = m_tailIndex; 325public bool CanSteal => m_headIndex < m_tailIndex; 343if (head < m_tailIndex) 382return Math.Max(0, m_tailIndex - m_headIndex);