nu_atomic_cmpxhg_ptr

Compares variable at dst and swaps it if it contains oldvalue.

export extern (C) extern @nogc nothrow
bool
nu_atomic_cmpxhg_ptr
(
void** dst
,
void* oldvalue
,
void* value
)

Meta