7 references to Locked
System.ServiceModel.Internals (7)
System\Runtime\SignalGate.cs (7)
24
return this.state == GateState.
Locked
;
42
if (lastState == GateState.
Locked
)
44
lastState = Interlocked.CompareExchange(ref this.state, GateState.SignalPending, GateState.
Locked
);
52
if (lastState != GateState.
Locked
)
66
if (lastState == GateState.
Locked
)
68
lastState = Interlocked.CompareExchange(ref this.state, GateState.Unlocked, GateState.
Locked
);
76
if (lastState != GateState.
Locked
)