bubel.ecs.atomic

It's internal code. Can be used for atomics if emscripten backend will be used.

This module contain atomic operations which include support for emscripten atomics functions. Emscripten functions are contained in API similar to druntime.

Public Imports

core.atomic
public import core.atomic;
Undocumented in source.

Members

Enums

MemoryOrder
enum MemoryOrder
Undocumented in source.

Functions

atomicLoad
T atomicLoad(T val)
Undocumented in source. Be warned that the author may not have intended to support it.
atomicOp
Unqual!T atomicOp(T val, V1 mod)
Undocumented in source. Be warned that the author may not have intended to support it.
atomicStore
void atomicStore(T val, V newval)
Undocumented in source. Be warned that the author may not have intended to support it.
cas
bool cas(T* here, V1 ifThis, V2 writeThis)
Undocumented in source. Be warned that the author may not have intended to support it.
emscripten_atomic_add_u16
ushort emscripten_atomic_add_u16(void* addr, ushort val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
emscripten_atomic_add_u32
uint emscripten_atomic_add_u32(void* addr, uint val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
emscripten_atomic_add_u8
ubyte emscripten_atomic_add_u8(void* addr, ubyte val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
emscripten_atomic_cas_u16
ushort emscripten_atomic_cas_u16(void* addr, ushort oldVal, ushort newVal)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
emscripten_atomic_cas_u32
uint emscripten_atomic_cas_u32(void* addr, uint oldVal, uint newVal)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
emscripten_atomic_cas_u8
ubyte emscripten_atomic_cas_u8(void* addr, ubyte oldVal, ubyte newVal)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
emscripten_atomic_load_u16
ushort emscripten_atomic_load_u16(void* addr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
emscripten_atomic_load_u32
uint emscripten_atomic_load_u32(void* addr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
emscripten_atomic_load_u8
ubyte emscripten_atomic_load_u8(void* addr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
emscripten_atomic_store_u16
ushort emscripten_atomic_store_u16(void* addr, ushort val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
emscripten_atomic_store_u32
uint emscripten_atomic_store_u32(void* addr, uint val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
emscripten_atomic_store_u8
ubyte emscripten_atomic_store_u8(void* addr, ubyte val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
emscripten_atomic_sub_u16
ushort emscripten_atomic_sub_u16(void* addr, ushort val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
emscripten_atomic_sub_u32
uint emscripten_atomic_sub_u32(void* addr, uint val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
emscripten_atomic_sub_u8
ubyte emscripten_atomic_sub_u8(void* addr, ubyte val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta

License

BSD 3-clause, see LICENSE file in project root folder.