SpinLockExtensions Class

Tungsten Suite

SpinLockExtensions Class

Extensions to simplify locking with SpinLock
Inheritance Hierarchy
SystemObject  W.Threading.LockersSpinLockExtensions

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