Esc

atomic_exchange

proceduresince 0.36.1Source
  • macOS: atomic_exchange works on macOS
  • Linux: atomic_exchange works on Linux
  • Windows: atomic_exchange works on Windows
  • Wasm: atomic_exchange works on Wasm

Signature

atomic_exchange :: (pointer: *$T, new: T) -> old_value: T

See also