Method AtomicXchg
AtomicXchg(Value, Value)
Creates an atomic exchange (Read, Modify, Write) instruction
Declaration
public AtomicRMW AtomicXchg(Value ptr, Value val)
Parameters
public AtomicRMW AtomicXchg(Value ptr, Value val)
Value | ptr | Pointer to the value to update (e.g. destination and the left hand operand) |
Value | val | Right hand side operand |
Returns
AtomicRMW | AtomicRMW |