tango ~master (2021-12-14T19:14:08.8989381)
Dub
Repo
atomicSwap
tango
core
sync
Atomic
Undocumented in source.
T
atomicSwap
(T val, T newval)
T
atomicSwap
(T val, T newval)
T
atomicSwap
(T val, T newval)
T
atomicSwap
(T val, T newval)
version(!LDC && !D_InlineAsm_X86 && !D_InlineAsm_X86_64)
T
atomicSwap
(
T
)
(
ref
T
val
,
T
newval
)
Meta
Source
See Implementation
tango
core
sync
Atomic
enums
LockVersion
strictFences
functions
OSAtomicCompareAndSwap64
atomicAdd
atomicCAS
atomicCASB
atomicLoad
atomicOp
atomicStore
atomicSwap
flagAdd
flagGet
flagOp
flagSet
fullBarrier
memoryBarrier
nextValue
readBarrier
thread_yield
writeBarrier
templates
atomicValueIsProperlyAligned
variables
dummy