SpinLockExtensions.InLock Method (SpinLock, Action)
From Tungsten Suite
Tungsten
|
|
SpinLockExtensionsInLock Method (SpinLock, Action) |
Performs the action in a lock
Namespace: W.Threading.Lockers
Assembly: Tungsten.Threading.Lockers (in Tungsten.Threading.Lockers.dll) Version: 2.0.1
C#
public static void InLock( this SpinLock this, Action action )
Parameters
- this
- Type: System.ThreadingSpinLock
The SpinLock to provide resource locking - action
- Type: SystemAction
The action to perform