tern v0.2.12 (2024-03-08T18:10:27Z)
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.