Table of Contents

Struct AtomicUInt32

Namespace
Sdl3Sharp.Threading
Assembly
Sdl3Sharp.dll
public struct AtomicUInt32
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. Check the values returned by Get(ref readonly AtomicUInt32) for equality instead.

Exceptions

NotSupportedException

always

Get(ref readonly AtomicUInt32)

public static uint Get(ref readonly AtomicUInt32 atomic)

Parameters

atomic AtomicUInt32

Returns

uint

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. Calculate a hash code from the value returned by Get(ref readonly AtomicUInt32) instead.

Exceptions

NotSupportedException

always

Set(ref AtomicUInt32, uint)

public static uint Set(ref AtomicUInt32 atomic, uint value)

Parameters

atomic AtomicUInt32
value uint

Returns

uint

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. Get a string reprensentation for the value returned by Get(ref readonly AtomicUInt32) instead.

Exceptions

NotSupportedException

always

TryCompareAndSwap(ref AtomicUInt32, uint, uint)

public static bool TryCompareAndSwap(ref AtomicUInt32 atomic, uint oldValue, uint newValue)

Parameters

atomic AtomicUInt32
oldValue uint
newValue uint

Returns

bool