Method AtomicCmpXchg
- Namespace
- Ubiquity.NET.Llvm.Instructions
- Assembly
- Ubiquity.NET.Llvm.dll
AtomicCmpXchg(Value, Value, Value)
Creates an atomic Compare exchange instruction
public AtomicCmpXchg AtomicCmpXchg(Value ptr, Value cmp, Value value)
Parameters
ptrValuePointer to the value to update (e.g. destination and the left hand operand)
cmpValueComparand for the operation
valueValueRight hand side operand