Table of Contents

Struct SpinLock

Namespace
Sdl3Sharp.Threading
Assembly
Sdl3Sharp.dll
public struct SpinLock
Inherited Members
Extension Methods

Methods

Equals(object?)

Calls to this method are not supported

[DoesNotReturn]
public override readonly bool Equals(object? obj)

Parameters

obj object

Not supported

Returns

bool

Calls to this method are not supported

Remarks

Calls to this method are not supported

Exceptions

NotSupportedException

always

GetHashCode()

Calls to this method are not supported

[DoesNotReturn]
public override readonly int GetHashCode()

Returns

int

Calls to this method are not supported

Remarks

Calls to this method are not supported

Exceptions

NotSupportedException

always

Lock(ref SpinLock)

public static void Lock(ref SpinLock spinLock)

Parameters

spinLock SpinLock

ToString()

Calls to this method are not supported

[DoesNotReturn]
public override readonly string ToString()

Returns

string

Calls to this method are not supported

Remarks

Calls to this method are not supported

Exceptions

NotSupportedException

always

TryLock(ref SpinLock)

public static bool TryLock(ref SpinLock spinLock)

Parameters

spinLock SpinLock

Returns

bool

Unlock(ref SpinLock)

public static void Unlock(ref SpinLock spinLock)

Parameters

spinLock SpinLock