Modifier

Partager via


SpinLockExtensions.UnsafeLock(SpinLock*) Constructor

Definition

Initializes a new instance of the SpinLockExtensions.UnsafeLock struct.

public UnsafeLock (System.Threading.SpinLock* spinLock);
new Microsoft.Toolkit.HighPerformance.SpinLockExtensions.UnsafeLock : nativeptr<System.Threading.SpinLock> -> Microsoft.Toolkit.HighPerformance.SpinLockExtensions.UnsafeLock

Parameters

spinLock
SpinLock*

The target SpinLock to use.

Applies to