wasm-micro-runtime/core/iwasm/libraries
Hanged Fish a02cc6626d
Fix libc-wasi not working in spawned exec_env (#1053)
In thread_manager.c, `wasm_cluster_spawn_exec_env` creates a new module
instance but not sets wasi_ctx, so when the new exec_env calls wasm function
which uses WASI API, the WASI API functions in `libc_wasi_wrapper.c` will get
null result in calling `get_wasi_ctx`  and then return `wasi_errno`.

Signed-off-by: HangedFish <bravohangedman@outlook.com>
2022-03-22 12:17:14 +08:00
..
debug-engine [debugger enhance] don't block gdbserver thread while executing (#989) 2022-02-16 17:35:35 +08:00
lib-pthread Fix pthread_getspecific return value (#999) 2022-02-05 22:45:59 +08:00
lib-socket Implement part of Berkeley Socket API for libc-wasi (#1036) 2022-03-10 15:13:38 +08:00
libc-builtin Cleanup output format warnings (#904) 2021-12-20 15:51:36 +08:00
libc-emcc Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
libc-uvwasi Enhance uvwasi build process and fix wamrc windows build error (#1046) 2022-03-15 21:43:55 +08:00
libc-wasi Implement part of Berkeley Socket API for libc-wasi (#1036) 2022-03-10 15:13:38 +08:00
thread-mgr Fix libc-wasi not working in spawned exec_env (#1053) 2022-03-22 12:17:14 +08:00