wasm-micro-runtime/core/iwasm/libraries/lib-pthread
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
..
lib_pthread_wrapper.c Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
lib_pthread.cmake Implement POSIX semaphore support for linux platform (#1345) 2022-08-08 19:59:46 +08:00
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00