wasm-micro-runtime/core/iwasm/libraries
Enrico Loparco 71d43f3ca1
Return error when exception was raised after main thread finishes (#2169)
Currently, if a thread is spawned and raises an exception after the main thread
has finished, iwasm returns with success instead of returning 1 (i.e. error).

Since wasm_runtime_get_wasi_exit_code waits for all threads to finish and only
returns the wasi exit code, this PR performs the exception check again and
returns error if an exception was raised.
2023-05-05 09:20:05 +08:00
..
debug-engine Update release notes and fix issues reported by Coverity (#1813) 2022-12-20 14:37:07 +08:00
lib-pthread Use pre-created exec_env for instantiation and module_malloc/free (#2047) 2023-03-23 19:19:47 +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 Return error when exception was raised after main thread finishes (#2169) 2023-05-05 09:20:05 +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 issues reported by Coverity (#2053) 2023-03-24 14:05:17 +08:00
wasi-nn Avoid re-installing if Tensorflow is already installed for WASI-NN (#2148) 2023-04-27 08:19:18 +08:00