9 references to _headAndTail
MSBuildTaskHost (9)
Concurrent\ConcurrentQueue.cs (9)
352
int tail = Thread.VolatileRead(ref
_headAndTail
.Tail);
353
if (Interlocked.CompareExchange(ref
_headAndTail
.Tail, tail + FreezeOffset, tail) == tail)
369
int currentHead = Thread.VolatileRead(ref
_headAndTail
.Head);
388
if (Interlocked.CompareExchange(ref
_headAndTail
.Head, currentHead + 1, currentHead) == currentHead)
414
int currentTail = Thread.VolatileRead(ref
_headAndTail
.Tail);
448
int currentHead = Thread.VolatileRead(ref
_headAndTail
.Head);
472
int currentTail = Thread.VolatileRead(ref
_headAndTail
.Tail);
500
int currentTail = Thread.VolatileRead(ref
_headAndTail
.Tail);
519
if (Interlocked.CompareExchange(ref
_headAndTail
.Tail, currentTail + 1, currentTail) == currentTail)