bubel-ecs v0.1.1 (2023-01-18T14:09:25Z)
Dub
Repo
cas
bubel
ecs
atomic
Undocumented in source. Be warned that the author may not have intended to support it.
version(ECSEmscripten)
public pure nothrow @
nogc
@
trusted
bool
cas
(
MemoryOrder
succ
=
MemoryOrder.seq
MemoryOrder
fail
=
MemoryOrder.seq
T
V1
V2
)
(
T
*
here
,
V1
ifThis
,
V2
writeThis
)
Meta
Source
See Implementation
bubel
ecs
atomic
enums
MemoryOrder
functions
atomicLoad
atomicOp
atomicStore
cas
emscripten_atomic_add_u16
emscripten_atomic_add_u32
emscripten_atomic_add_u8
emscripten_atomic_cas_u16
emscripten_atomic_cas_u32
emscripten_atomic_cas_u8
emscripten_atomic_load_u16
emscripten_atomic_load_u32
emscripten_atomic_load_u8
emscripten_atomic_store_u16
emscripten_atomic_store_u32
emscripten_atomic_store_u8
emscripten_atomic_sub_u16
emscripten_atomic_sub_u32
emscripten_atomic_sub_u8