Tungsten
SpinLockExtensions Class |
Extensions to simplify locking with SpinLock
Inheritance Hierarchy
Namespace: W.Threading.Lockers
Assembly: Tungsten.Threading.Lockers (in Tungsten.Threading.Lockers.dll) Version: 2.0.1
Syntax
C#
public static class SpinLockExtensions
Methods
Name | Description | |
---|---|---|
InLock(SpinLock, Action) |
Performs the action in a lock
| |
InLockTType(SpinLock, FuncTType) |
Performs the function in a lock
| |
InLockAsync(SpinLock, Action) |
Asynchronously performs the action in a lock
| |
InLockAsyncTType(SpinLock, FuncTType) |
Asynchronously performs the function in a lock
|
See Also