ReaderWriterLockSlim Properties
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The ReaderWriterLockSlim type exposes the following members.
| Name | Description | |
|---|---|---|
|
CurrentReadCount | Gets the total number of unique threads that have entered the lock in read mode. |
|
IsReadLockHeld | Gets a value that indicates whether the current thread has entered the lock in read mode. |
|
IsUpgradeableReadLockHeld | Gets a value that indicates whether the current thread has entered the lock in upgradeable mode. |
|
IsWriteLockHeld | Gets a value that indicates whether the current thread has entered the lock in write mode. |
|
RecursionPolicy | Gets a value that indicates the recursion policy for the current ReaderWriterLockSlim object. |
|
RecursiveReadCount | Gets the number of times the current thread has entered the lock in read mode, as an indication of recursion. |
|
RecursiveUpgradeCount | Gets the number of times the current thread has entered the lock in upgradeable mode, as an indication of recursion. |
|
RecursiveWriteCount | Gets the number of times the current thread has entered the lock in write mode, as an indication of recursion. |
|
WaitingReadCount | Gets the total number of threads that are waiting to enter the lock in read mode. |
|
WaitingUpgradeCount | Gets the total number of threads that are waiting to enter the lock in upgradeable mode. |
|
WaitingWriteCount | Gets the total number of threads that are waiting to enter the lock in write mode. |
Show: