ReaderWriterLock

E697537

ReaderWriterLock is a .NET synchronization primitive that allows concurrent read access while ensuring exclusive access for write operations to shared resources.

All labels observed (7)

How this entity was disambiguated

Statements (29)

Predicate Object
instanceOf class
reader-writer lock
allows concurrent read access
discouragedInNewCode true
ensures exclusive write access
granularity managed code level
hasIssue complex upgrade and downgrade semantics
writer starvation risk
hasMethod AcquireReaderLock
AcquireWriterLock
AnyWritersSince
DowngradeFromWriterLock
linked to: ReaderWriterLock

ReleaseReaderLock
linked to: ReaderWriterLock

ReleaseWriterLock
linked to: ReaderWriterLock

UpgradeToWriterLock
hasProperty IsReaderLockHeld
IsUpgradeableReadLockHeld
IsWriterLockHeld
introducedIn .NET Framework 1.1
linked to: .NET Framework
namespace System.Threading
partOf .NET Framework
supersededBy ReaderWriterLockSlim
linked to: ReaderWriterLock
supports multiple simultaneous readers
single writer at a time
supportsTimeouts true
targetPlatform .NET Core (for compatibility)
linked to: .NET Core

.NET Framework
threadSafety thread-safe
usedFor synchronizing access to shared resources

How these facts were elicited

Referenced by (8)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.Threading containsType ReaderWriterLock
LockRecursionException thrownBy ReaderWriterLockSlim
linked to: ReaderWriterLock
LockRecursionException relatedTo ReaderWriterLockSlim.EnterReadLock
linked to: ReaderWriterLock
LockRecursionException relatedTo ReaderWriterLockSlim.EnterWriteLock
linked to: ReaderWriterLock
ReaderWriterLock hasMethod ReleaseReaderLock
linked to: ReaderWriterLock
ReaderWriterLock hasMethod ReleaseWriterLock
linked to: ReaderWriterLock
ReaderWriterLock hasMethod DowngradeFromWriterLock
linked to: ReaderWriterLock
ReaderWriterLock supersededBy ReaderWriterLockSlim
linked to: ReaderWriterLock