tango ~master (2021-12-14T19:14:08.8989381)
Dub
Repo
atomicAdd
tango
core
sync
Atomic
Undocumented in source. Be warned that the author may not have intended to support it.
T
atomicAdd
(T val, T incV)
T
atomicAdd
(T val, U incV_)
T
atomicAdd
(T val, U incV_)
T
atomicAdd
(T val, U incV_)
T
atomicAdd
(T val, U incV_)
version(!LDC && !D_InlineAsm_X86 && !D_InlineAsm_X86_64)
static if
(!(
LockVersion
))
T
atomicAdd
(
T
U
=
T
)
(
ref
T
val
,
U
incV_
)
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