Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Slang Documentation
Slang Documentation
Back to top
View this page

Atomic<T>.xor¶

Description¶

Atomically performs a bitwise XOR operation between the stored value and the given value, storing the result and returning the original stored value.

Signature¶

T Atomic<T>.xor(
    T value,
    MemoryOrder order)
    where T : IBitAtomicable;

Parameters¶

value : T¶

order : MemoryOrder = MemoryOrder.Relaxed¶

On this page
  • Atomic<T>.xor
    • Description
    • Signature
    • Parameters
      • value : T
      • order : MemoryOrder = MemoryOrder.Relaxed