AsyncReaderWriterLock Class

Represents an asynchronous implementation of a reader/writer lock.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.128 -- Release Build+d4a9a653be1def5888b9be91bb1825c8655f3529
public class AsyncReaderWriterLock
Inheritance
Object    AsyncReaderWriterLock

Constructors

AsyncReaderWriterLockInitializes a new instance of the AsyncReaderWriterLock class

Methods

EnterReadAsync Enters the lock with concurrent access where all readers can execute concurrently with respect to each other.
EnterWriteAsync Enters the lock with exclusive access where no other readers or writers can execute concurrently with the writer.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryEnterReadLockAsync(Int32) Attempts to enter the lock with concurrent access where all readers can execute concurrently with respect to each other.
TryEnterReadLockAsync(TimeSpan) Attempts to enter the lock with concurrent access where all readers can execute concurrently with respect to each other.
TryEnterWriteLockAsync(Int32) Attempts to enter the lock with exclusive access where no other readers or writers can execute concurrently with the writer.
TryEnterWriteLockAsync(TimeSpan) Attempts to enter the lock with exclusive access where no other readers or writers can execute concurrently with the writer.

See Also