4 writes to _headTail
System.ServiceModel.Primitives (4)
Internals\System\Runtime\IOThreadScheduler.cs (4)
138
int slot = Interlocked.Add(ref
_headTail
, Bits.HiOne);
145
slot = Interlocked.Add(ref
_headTail
, Bits.HiOne);
186
if (slot == (slot = Interlocked.CompareExchange(ref
_headTail
, Bits.IncrementLo(slot), slot)))
210
if (slot == (slot = Interlocked.CompareExchange(ref
_headTail
, Bits.IncrementLo(slot), slot)))
3 references to _headTail
System.ServiceModel.Primitives (3)
Internals\System\Runtime\IOThreadScheduler.cs (3)
179
int slot =
_headTail
;
205
int slot =
_headTail
;
265
Contract.Assert(Bits.Count(
_headTail
) == -1, "IOTS finalized while not idle.");