wasm-micro-runtime/core/iwasm/libraries
Christof Petig 5a23ae465c
Fix three multi-threading and wasm-c-api-imports issues (#2173)
Fix issue reported in #2172: wasm-c-api `wasm_func_call` may use a wrong exec_env
when multi-threading is enabled, with error "invalid exec env" reported

Fix issue reported in #2149: main instance's `c_api_func_imports` are not passed to
the counterpart of new thread's instance in wasi-threads mode

Fix issue of invalid size calculated to copy `c_api_func_imports` in pthread mode

And refactor the code to use `wasm_cluster_dup_c_api_imports` to copy the
`c_api_func_imports` to new thread for wasi-threads mode and pthread mode.
2023-05-05 10:01:58 +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 three multi-threading and wasm-c-api-imports issues (#2173) 2023-05-05 10:01:58 +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 Use wasi-sdk-20 to build wasi-threads cases in CI (#2095) 2023-04-03 08:43:11 +08:00
lib-wasi-threads Fix three multi-threading and wasm-c-api-imports issues (#2173) 2023-05-05 10:01:58 +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 Add wasm_runtime_get_wasi_exit_code (#1748) 2022-11-24 20:26:18 +08:00
libc-wasi libc_wasi_wrapper.c: Fix min func issue for size_t < 8 bytes on some platforms (#2152) 2023-04-26 21:03:02 +08:00
thread-mgr Fix three multi-threading and wasm-c-api-imports issues (#2173) 2023-05-05 10:01:58 +08:00
wasi-nn Avoid re-installing if Tensorflow is already installed for WASI-NN (#2148) 2023-04-27 08:19:18 +08:00