ReaderWriterLock Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Threading
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodAcquireReaderLock(Int32)

Acquires a reader lock, using an Int32 value for the time-out.

System_CAPS_pubmethodAcquireReaderLock(TimeSpan)

Acquires a reader lock, using a TimeSpan value for the time-out.

System_CAPS_pubmethodAcquireWriterLock(Int32)

Acquires the writer lock, using an Int32 value for the time-out.

System_CAPS_pubmethodAcquireWriterLock(TimeSpan)

Acquires the writer lock, using a TimeSpan value for the time-out.

System_CAPS_pubmethodAnyWritersSince(Int32)

Indicates whether the writer lock has been granted to any thread since the sequence number was obtained.

System_CAPS_pubmethodDowngradeFromWriterLock(LockCookie)

Restores the lock status of the thread to what it was before UpgradeToWriterLock was called.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the ReaderWriterLock object. (Overrides CriticalFinalizerObject.Finalize().)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodReleaseLock()

Releases the lock, regardless of the number of times the thread acquired the lock.

System_CAPS_pubmethodReleaseReaderLock()

Decrements the lock count.

System_CAPS_pubmethodReleaseWriterLock()

Decrements the lock count on the writer lock.

System_CAPS_pubmethodRestoreLock(LockCookie)

Restores the lock status of the thread to what it was before calling ReleaseLock.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodUpgradeToWriterLock(Int32)

Upgrades a reader lock to the writer lock, using an Int32 value for the time-out.

System_CAPS_pubmethodUpgradeToWriterLock(TimeSpan)

Upgrades a reader lock to the writer lock, using a TimeSpan value for the time-out.

Return to top
Show: