SemaphoreSlimExtensions Class
From Tungsten Suite
Tungsten
|
|
SemaphoreSlimExtensions Class |
Extensions to simplify locking with SemaphoreSlim
Namespace: W.Threading.Lockers
Assembly: Tungsten.Threading.Lockers (in Tungsten.Threading.Lockers.dll) Version: 2.0.1
C#
public static class SemaphoreSlimExtensions
| Name | Description | |
|---|---|---|
| InLock(SemaphoreSlim, Action) |
Performs the action in a lock
| |
| InLockTType(SemaphoreSlim, FuncTType) |
Performs the action in a lock
| |
| InLockAsync(SemaphoreSlim, Action) |
Asynchronously performs the action in a lock
| |
| InLockAsyncTType(SemaphoreSlim, FuncTType) |
Asynchronously performs the function in a lock
|