SpinLockExtensions.UnsafeLock 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.UnsafeLock
type SpinLockExtensions.UnsafeLock = struct
Public Structure SpinLockExtensions.UnsafeLock
- Inheritance
-
SpinLockExtensions.UnsafeLock
Constructors
SpinLockExtensions.UnsafeLock(SpinLock*) |
Initializes a new instance of the SpinLockExtensions.UnsafeLock struct. |
Methods
Dispose() |
Implements the duck-typed Dispose() method and releases the current SpinLock instance. |