SpinLockExtensions.UnsafeLock Struct

Definition

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.

Applies to