22 references to WaiterStates
System.Core (22)
system\threading\ReaderWriterLockSlim\ReaderWriterLockSlim.cs (22)
75
private
WaiterStates
_waiterStates;
146
_waiterStates =
WaiterStates
.NoWaiters;
158
return (_waiterStates &
WaiterStates
.NoWaiters) !=
WaiterStates
.None;
168
_waiterStates |=
WaiterStates
.NoWaiters;
172
_waiterStates &= ~
WaiterStates
.NoWaiters;
1037
WaiterStates
waiterSignaledState =
WaiterStates
.None;
1042
waiterSignaledState =
WaiterStates
.UpgradeableReadWaiterSignaled;
1050
waiterSignaledState =
WaiterStates
.WriteWaiterSignaled;
1076
if (waiterSignaledState !=
WaiterStates
.None && (_waiterStates & waiterSignaledState) !=
WaiterStates
.None)
1105
waiterSignaledState !=
WaiterStates
.None &&
1106
(_waiterStates & waiterSignaledState) !=
WaiterStates
.None)
1187
WaiterStates
signaled = _waiterStates &
WaiterStates
.WriteWaiterSignaled;
1188
if (signaled ==
WaiterStates
.None)
1190
_waiterStates |=
WaiterStates
.WriteWaiterSignaled;
1195
if (signaled ==
WaiterStates
.None)
1226
if ((_waiterStates &
WaiterStates
.UpgradeableReadWaiterSignaled) ==
WaiterStates
.None)
1228
_waiterStates |=
WaiterStates
.UpgradeableReadWaiterSignaled;