Method AtomicCmpXchg
AtomicCmpXchg(Value, Value, Value)
Creates an atomic Compare exchange instruction
Declaration
public AtomicCmpXchg AtomicCmpXchg(Value ptr, Value cmp, Value value)
Parameters
public AtomicCmpXchg AtomicCmpXchg(Value ptr, Value cmp, Value value)
Value | ptr | Pointer to the value to update (e.g. destination and the left hand operand) |
Value | cmp | Comparand for the operation |
Value | value | Right hand side operand |
Returns
AtomicCmpXchg | AtomicRMW |