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