drm ~master (2021-08-02T12:27:32.8574415)
Dub
Repo
Atomic.cas
drm
atomic
Atomic
Compare and swap
bool
cas
(T oldVal, T newVal)
struct
Atomic
(T)
shared
bool
cas
(
MemoryOrder
mo
=
MemoryOrder.seq
MemoryOrder
fmo
=
MemoryOrder.seq
)
(
T
oldVal
,
T
newVal
)
if
(
__traits(
isIntegral
,
T
) ||
isPointer
!
T
)
bool
casWeak
(T oldVal, T newVal)
Meta
Source
See Implementation
drm
atomic
Atomic
aliases
opAssign
constructors
this
functions
cas
casWeak
exchange
fadd
fsub
load
opOpAssign
opUnary
store
Compare and swap