Export (0) Print
Expand All

ReaderWriterLock Methods

The ReaderWriterLock type exposes the following members.

  NameDescription
Public method AcquireReaderLock Overloaded. Acquires a reader lock.
Public method AcquireWriterLock Overloaded. Acquires the writer lock.
Public method AnyWritersSince Indicates whether the writer lock has been granted to any thread since the sequence number was obtained.
Public method DowngradeFromWriterLock Restores the lock status of the thread to what it was before UpgradeToWriterLock was called.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Releases all the resources used by the CriticalFinalizerObject class. (Inherited from CriticalFinalizerObject.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReleaseLock Releases the lock, regardless of the number of times the thread acquired the lock.
Public method ReleaseReaderLock Decrements the lock count.
Public method ReleaseWriterLock Decrements the lock count on the writer lock.
Public method RestoreLock Restores the lock status of the thread to what it was before calling ReleaseLock.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UpgradeToWriterLock Overloaded. Upgrades a reader lock to the writer lock.
Top

Community Additions

ADD
Show:
© 2015 Microsoft