15 references to ReaderSignaled
System.Threading (15)
System\Threading\ReaderWriterLock.cs (15)
119
(knownState & LockStates.
ReaderSignaled
) != 0 &&
146
(knownState & LockStates.CachingEvents) == LockStates.
ReaderSignaled
)
207
Debug.Assert((_state & LockStates.
ReaderSignaled
) != 0);
225
if ((knownState & LockStates.
ReaderSignaled
) != 0 &&
241
Interlocked.Add(ref _state, LockStates.Reader - LockStates.
ReaderSignaled
);
258
Debug.Assert((knownState & LockStates.
ReaderSignaled
) != 0);
264
Interlocked.Add(ref _state, -LockStates.
ReaderSignaled
);
482
if ((knownState & (LockStates.ReadersMask | LockStates.
ReaderSignaled
)) == LockStates.Reader)
522
modifyState += LockStates.
ReaderSignaled
;
549
Debug.Assert((_state & LockStates.
ReaderSignaled
) != 0);
617
modifyState += LockStates.
ReaderSignaled
;
647
Debug.Assert((_state & LockStates.
ReaderSignaled
) != 0);
807
modifyState += LockStates.
ReaderSignaled
;
817
Debug.Assert((_state & LockStates.
ReaderSignaled
) != 0);
1193
public const int CachingEvents =
ReaderSignaled
| WriterSignaled;