ReaderWriterLockSlimExtensions Class

Tungsten Suite

ReaderWriterLockSlimExtensions Class

Extensions to simplify locking with ReaderWriterLockSlim
Inheritance Hierarchy
SystemObject  W.Threading.LockersReaderWriterLockSlimExtensions

Namespace:  W.Threading.Lockers
Assembly:  Tungsten.Threading.Lockers (in Tungsten.Threading.Lockers.dll) Version: 2.0.1
Syntax
C#
public static class ReaderWriterLockSlimExtensions

The ReaderWriterLockSlimExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberInLock(ReaderWriterLockSlim, LockTypeEnum, Action)
Performs the action in a lock
Public methodStatic memberInLockTType(ReaderWriterLockSlim, LockTypeEnum, FuncTType)
Performs the function in a lock
Public methodStatic memberInLockAsync(ReaderWriterLockSlim, LockTypeEnum, Action)
Asynchronously performs the action in a lock
Public methodStatic memberInLockAsyncTType(ReaderWriterLockSlim, LockTypeEnum, FuncTType)
Asynchronously performs the function in a lock
Public methodStatic memberLock
Enters a read or write lock on the ReaderWriterLockSlim
Public methodStatic memberUnlock
Exits a read or write lock on the ReaderWriterLockSlim
Top
See Also