Table of Contents

Struct AtomicIntPtr

Namespace
Sdl3Sharp.Threading
Assembly
Sdl3Sharp.dll
public struct AtomicIntPtr
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 AtomicIntPtr) for equality instead.

Exceptions

NotSupportedException

always

Get(ref readonly AtomicIntPtr)

public static nint Get(ref readonly AtomicIntPtr atomic)

Parameters

atomic AtomicIntPtr

Returns

nint

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 AtomicIntPtr) instead.

Exceptions

NotSupportedException

always

Set(ref AtomicIntPtr, nint)

public static nint Set(ref AtomicIntPtr atomic, nint value)

Parameters

atomic AtomicIntPtr
value nint

Returns

nint

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 AtomicIntPtr) instead.

Exceptions

NotSupportedException

always

TryCompareAndSwap(ref AtomicIntPtr, nint, nint)

public static bool TryCompareAndSwap(ref AtomicIntPtr atomic, nint oldValue, nint newValue)

Parameters

atomic AtomicIntPtr
oldValue nint
newValue nint

Returns

bool