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