Export (0) Print
Expand All

ReaderWriterLockSlim Properties

The ReaderWriterLockSlim type exposes the following members.

  Name Description
Public property CurrentReadCount Gets the total number of unique threads that have entered the lock in read mode.
Public property IsReadLockHeld Gets a value that indicates whether the current thread has entered the lock in read mode.
Public property IsUpgradeableReadLockHeld Gets a value that indicates whether the current thread has entered the lock in upgradeable mode.
Public property IsWriteLockHeld Gets a value that indicates whether the current thread has entered the lock in write mode.
Public property RecursionPolicy Gets a value that indicates the recursion policy for the current ReaderWriterLockSlim object.
Public property RecursiveReadCount Gets the number of times the current thread has entered the lock in read mode, as an indication of recursion.
Public property RecursiveUpgradeCount Gets the number of times the current thread has entered the lock in upgradeable mode, as an indication of recursion.
Public property RecursiveWriteCount Gets the number of times the current thread has entered the lock in write mode, as an indication of recursion.
Public property WaitingReadCount Gets the total number of threads that are waiting to enter the lock in read mode.
Public property WaitingUpgradeCount Gets the total number of threads that are waiting to enter the lock in upgradeable mode.
Public property WaitingWriteCount Gets the total number of threads that are waiting to enter the lock in write mode.
Top
Show:
© 2014 Microsoft