wasm-micro-runtime/core/iwasm/libraries
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
..
debug-engine Update release notes and fix issues reported by Coverity (#1813) 2022-12-20 14:37:07 +08:00
lib-pthread Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
lib-rats Create module hash for each module in SGX lib-rats (#1745) 2022-11-24 21:48:50 +08:00
lib-socket Fix wasi-sockets tests (#2389) 2023-07-30 19:34:09 +08:00
lib-wasi-threads Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
libc-builtin Clear some warnings and enable -Werror for NuttX (#1756) 2022-11-28 09:44:33 +08:00
libc-emcc Expose wasm_runtime_call_indirect (#1969) 2023-02-20 18:56:55 +08:00
libc-uvwasi Update libuv version to v1.46.0 (#2405) 2023-07-31 18:32:20 +08:00
libc-wasi Implement suspend flags as atomic variable (#2361) 2023-07-21 08:27:09 +08:00
thread-mgr Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
wasi-nn wasi-nn: Add support of wasi-nn as shared lib (#2310) 2023-06-27 18:18:26 +08:00