ReaderWriterLockEasy Class

A simplified implementation of a ReaderWriterLockSlim. This allows for more user friendly code to be written.

Definition

Namespace: SnapDB.Threading
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public class ReaderWriterLockEasy
Inheritance
Object    ReaderWriterLockEasy

Constructors

ReaderWriterLockEasyInitializes a new instance of the ReaderWriterLockEasy class

Methods

EnterReadLock Enters a read lock. Be sure to call within a using block.
EnterWriteLock Acquires a writer lock, preventing other threads from acquiring writer or reader locks until the writer lock is released.
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)

See Also