ReaderWriterLock Methods
.NET Framework 4
The ReaderWriterLock type exposes the following members.
| Name | Description | |
|---|---|---|
|
AcquireReaderLock(Int32) | Acquires a reader lock, using an Int32 value for the time-out. |
|
AcquireReaderLock(TimeSpan) | Acquires a reader lock, using a TimeSpan value for the time-out. |
|
AcquireWriterLock(Int32) | Acquires the writer lock, using an Int32 value for the time-out. |
|
AcquireWriterLock(TimeSpan) | Acquires the writer lock, using a TimeSpan value for the time-out. |
|
AnyWritersSince | Indicates whether the writer lock has been granted to any thread since the sequence number was obtained. |
|
DowngradeFromWriterLock | Restores the lock status of the thread to what it was before UpgradeToWriterLock was called. |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Releases all the resources used by the CriticalFinalizerObject class. (Inherited from CriticalFinalizerObject.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ReleaseLock | Releases the lock, regardless of the number of times the thread acquired the lock. |
|
ReleaseReaderLock | Decrements the lock count. |
|
ReleaseWriterLock | Decrements the lock count on the writer lock. |
|
RestoreLock | Restores the lock status of the thread to what it was before calling ReleaseLock. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
UpgradeToWriterLock(Int32) | Upgrades a reader lock to the writer lock, using an Int32 value for the time-out. |
|
UpgradeToWriterLock(TimeSpan) | Upgrades a reader lock to the writer lock, using a TimeSpan value for the time-out. |