wasm-micro-runtime/core/iwasm/interpreter
YAMAMOTO Takashi 91592429f4
Fix memory sharing (#2415)
- Inherit shared memory from the parent instance, instead of
  trying to look it up by the underlying module. The old method
  works correctly only when every cluster uses different module.
- Use reference count in WASMMemoryInstance/AOTMemoryInstance
  to mark whether the memory is shared or not
- Retire WASMSharedMemNode
- For atomic opcode implementations in the interpreters, use
  a global lock for now
- Update the internal API users
  (wasi-threads, lib-pthread, wasm_runtime_spawn_thread)

Fixes https://github.com/bytecodealliance/wasm-micro-runtime/issues/1962
2023-08-04 10:18:13 +08:00
..
iwasm_interp.cmake Implement wasm mini loader and refine footprint of loader and runtime (#276) 2020-06-08 11:19:09 +08:00
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00
wasm_interp_classic.c Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
wasm_interp_fast.c Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
wasm_interp.h Fix issue of restoring wasm operand stack (#1721) 2022-11-18 18:51:13 +08:00
wasm_loader.c Fix result arity check on select_t opcode (#2406) 2023-07-31 18:20:11 +08:00
wasm_loader.h Fix build error when enable custom section without interpreter (#1229) 2022-06-15 18:14:39 +08:00
wasm_mini_loader.c Fix result arity check on select_t opcode (#2406) 2023-07-31 18:20:11 +08:00
wasm_opcode.h Fix data races in atomic wait/notify and interp goto table (#1971) 2023-02-22 11:43:49 +08:00
wasm_runtime.c Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
wasm_runtime.h Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
wasm.h Fix some check issues on table operations (#2392) 2023-07-27 21:53:48 +08:00