concurrency v5.0.0 (2022-10-19T08:12:29Z)
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
isThreadSafeCallable
isThreadSafeFunction
functions
casWeak
closure
dynamicLoad
dynamicLoadRaw
resetScheduler
spin_yield
structs
Closure
SharedGuard