SpinLockExtensions.Lock Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A struct
that is used to enter and hold a SpinLock through a using
block or statement.
public readonly ref struct SpinLockExtensions.Lock
type SpinLockExtensions.Lock = struct
Public Structure SpinLockExtensions.Lock
- Inheritance
-
SpinLockExtensions.Lock
Constructors
SpinLockExtensions.Lock(Object, SpinLock) |
Methods
Dispose() |
Implements the duck-typed Dispose() method and releases the current SpinLock instance. |