tern ~master (2024-04-15T17:45:17.8990912)
Dub
Repo
atomicExchange
tern
atomic
Atomically exchanges
rhs
and
lhs
.
static pragma(
inline
)
void
atomicExchange
(
R
L
)
(
ref
shared
R
rhs
,
L
lhs
)
Meta
Source
See Implementation
tern
atomic
classes
SpinLock
static functions
atomicExchange
atomicLoad
atomicLoadElem
atomicOp
atomicStore
fence
Atomically exchanges rhs and lhs.