concurrency v3.0.2 (2021-07-08T11:18:17Z)
Dub
Repo
casWeak
concurrency
utils
Undocumented in source. Be warned that the author may not have intended to support it.
pure nothrow @
nogc
@
safe
static if
(!(
__traits(compiles, ()) && __traits(compiles, ())
))
auto
casWeak
(
MemoryOrder
M1
=
MemoryOrder.seq
MemoryOrder
M2
=
MemoryOrder.seq
T
V1
V2
)
(
T
*
here
,
V1
ifThis
,
V2
writeThis
)
Meta
Source
See Implementation
concurrency
utils
enums
NoVoid
functions
casWeak
closure
resetScheduler
spin_yield
structs
Closure
SharedGuard