SpinLockExtensions.Lock Struct

Definition

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(SpinLock)

Initializes a new instance of the SpinLockExtensions.Lock struct.

Methods

Dispose()

Implements the duck-typed Dispose() method and releases the current SpinLock instance.

Applies to