.Net Framework > v3.5.21022.8 > System > Threading > ReaderWriterLockSlim ReaderWriterLockSlim
Category
Class
Description
Represents a lock that is used to manage access to a resource, allowing multiple threads for reading or exclusive access for writing.
Assembly
System.Core
Character
public
Attributes
NameValue/Assignment
HostProtectionAttributeSystem.Security.Permissions.SecurityAction.LinkDemand; MayLeakOnAbort=True
HostProtectionAttributeSystem.Security.Permissions.SecurityAction.LinkDemand; Synchronization=True, ExternalThreading=True
Ancestors
Object
Implements
IDisposable
Contstructors
ReaderWriterLockSlim()
ReaderWriterLockSlim(LockRecursionPolicy)
Properties
CurrentReadCount
IsReadLockHeld
IsUpgradeableReadLockHeld
IsWriteLockHeld
RecursionPolicy
RecursiveReadCount
RecursiveUpgradeCount
RecursiveWriteCount
WaitingReadCount
WaitingUpgradeCount
WaitingWriteCount
Methods
Dispose()
EnterReadLock()
EnterUpgradeableReadLock()
EnterWriteLock()
ExitReadLock()
ExitUpgradeableReadLock()
ExitWriteLock()
TryEnterReadLock(Int32)
TryEnterReadLock(TimeSpan)
TryEnterUpgradeableReadLock(Int32)
TryEnterUpgradeableReadLock(TimeSpan)
TryEnterWriteLock(Int32)
TryEnterWriteLock(TimeSpan)
Tags
0103E2B958, 02E3ABA98D, 0322962271
Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples