Edit

Share via


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

Methods

Dispose()

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

Applies to