SpinLockExtensions.UnsafeLock Struct

Definition

A struct that is used to enter and hold a SpinLock through a using block or statement.

C#
public readonly ref struct SpinLockExtensions.UnsafeLock
Inheritance
SpinLockExtensions.UnsafeLock

Constructors

Methods

Dispose()

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

Applies to

Product Versions
Windows Community Toolkit 6.1.1