SemaphoreSlimExtensions Class

Tungsten Suite

SemaphoreSlimExtensions Class

Extensions to simplify locking with SemaphoreSlim
Inheritance Hierarchy
SystemObject  W.Threading.LockersSemaphoreSlimExtensions

Namespace:  W.Threading.Lockers
Assembly:  Tungsten.Threading.Lockers (in Tungsten.Threading.Lockers.dll) Version: 2.0.1
Syntax
C#
public static class SemaphoreSlimExtensions
Methods
  NameDescription
Public methodStatic memberInLock(SemaphoreSlim, Action)
Performs the action in a lock
Public methodStatic memberInLockTType(SemaphoreSlim, FuncTType)
Performs the action in a lock
Public methodStatic memberInLockAsync(SemaphoreSlim, Action)
Asynchronously performs the action in a lock
Public methodStatic memberInLockAsyncTType(SemaphoreSlim, FuncTType)
Asynchronously performs the function in a lock
Top
See Also