concurrency ~master (2022-01-07T14:23:47Z)
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
isThreadSafeFunction
functions
casWeak
closure
resetScheduler
spin_yield
structs
Closure
SharedGuard