The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Atomic.opAssign
core
atomic
Atomic
Atomically replaces the current value with a desired value.
struct
Atomic
(T)
pure nothrow @
nogc
void
opAssign
(
T
val
)
Parameters
val
T
desired value
Meta
Source
See Implementation
core
atomic
Atomic
constructors
this
functions
compareExchangeStrong
compareExchangeWeak
exchange
fetchAdd
fetchAnd
fetchOr
fetchSub
fetchXor
load
opAssign
opOpAssign
opUnary
opUnaryRight
store
Atomically replaces the current value with a desired value.