AtomicPointer
Description:
public namespace AtomicPointer
Content:
Methods:
- 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
.
- public bool compare_and_exchange_full (void** atomic, void* oldval, void* newval, out void* preval)
Compares atomic
to oldval
and, if equal,
sets it to newval
.