11 writes to _gate
System.ServiceModel.Primitives (11)
Internals\System\Runtime\IOThreadScheduler.cs (11)
324
int gateSnapshot = Interlocked.Increment(ref
_gate
);
330
Interlocked.CompareExchange(ref
_gate
, 0, gateSnapshot);
342
gateSnapshot = Interlocked.Add(ref
_gate
, Bits.LoHiBit);
357
Interlocked.CompareExchange(ref
_gate
, 0, gateSnapshot) != gateSnapshot)
359
gateSnapshot = Interlocked.Add(ref
_gate
, Bits.HiHiBit);
362
Interlocked.CompareExchange(ref
_gate
, 0, gateSnapshot);
372
int gateSnapshot = Interlocked.Add(ref
_gate
, Bits.HiOne);
396
Interlocked.CompareExchange(ref
_gate
, 0, gateSnapshot) != gateSnapshot)
398
gateSnapshot = Interlocked.Add(ref
_gate
, Bits.HiHiBit);
401
Interlocked.CompareExchange(ref
_gate
, 0, gateSnapshot);
413
Interlocked.CompareExchange(ref
_gate
, 0, gateSnapshot);
1 reference to _gate
System.ServiceModel.Primitives (1)
Internals\System\Runtime\IOThreadScheduler.cs (1)
421
Contract.Assert(
_gate
== 0, "Finalized with unfinished slot.");