mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 15:05:19 +00:00
5a23ae465c
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. |
||
---|---|---|
.. | ||
debug-engine | ||
lib-pthread | ||
lib-rats | ||
lib-socket | ||
lib-wasi-threads | ||
libc-builtin | ||
libc-emcc | ||
libc-uvwasi | ||
libc-wasi | ||
thread-mgr | ||
wasi-nn |