atomicExchange

nint atomicExchange(overload nint* dest, nint value)

Atomically stores a signed native integer and returns the previous value.

overload nint*
dest

The storage location to update.

nint
value

The value to store.

nuint atomicExchange(overload nuint* dest, nuint value)

Atomically stores an unsigned native integer and returns the previous value.

overload nuint*
dest

The storage location to update.

nuint
value

The value to store.

void* atomicExchange(overload void** dest, void* value)

Atomically stores a pointer and returns the previous value.

Symbol

atomicExchangePtr

overload void**
dest

The storage location to update.

void*
value

The value to store.

Generated with campc v0.4.0-preview.1+d50446ef951a6ed675f7086cf093dbc993f0041b.