- public void* @get (void** atomic)
Gets the current value of atomic
.
- public void @set (void** atomic, void* newval)
Sets the value of atomic
to newval
.
- public bool compare_and_exchange (void** atomic, void* oldval, void* newval)
Compares atomic
to oldval
and, if equal,
sets it to newval
.