wasm-micro-runtime/core/iwasm/libraries/lib-wasi-threads
Wenyong Huang 3977f0b22a
Use pre-created exec_env for instantiation and module_malloc/free (#2047)
Use pre-created exec_env for instantiation and module_malloc/free,
use the same exec_env of the current thread to avoid potential
unexpected behavior.

And remove unnecessary shared_mem_lock in wasm_module_free,
which may cause dead lock.
2023-03-23 19:19:47 +08:00
..
test Use wasi-sdk 20 pre-release for tests with threads (#2021) 2023-03-17 20:02:03 +08:00
lib_wasi_threads_wrapper.c Use pre-created exec_env for instantiation and module_malloc/free (#2047) 2023-03-23 19:19:47 +08:00
lib_wasi_threads.cmake Reserve TID values for WASI threads (#1862) 2023-01-06 10:28:25 +08:00
tid_allocator.c Reserve TID values for WASI threads (#1862) 2023-01-06 10:28:25 +08:00
tid_allocator.h Reserve TID values for WASI threads (#1862) 2023-01-06 10:28:25 +08:00