Skip to content
Jacket
prelude
Search by name or signature
⌘
Ctrl
K
Search the docs
Esc
API
Guides
Playground
0.36.1
← prelude
Intrinsics
atomic_load
atomic_store
atomic_exchange
On this page
See also
std
/
prelude
/
atomic_exchange
atomic_exchange
procedure
since 0.36.1
Source
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
atomic_load
atomic_store