mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-03-12 17:05:38 +00:00
![]() 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. |
||
---|---|---|
.. | ||
test | ||
lib_wasi_threads_wrapper.c | ||
lib_wasi_threads.cmake | ||
tid_allocator.c | ||
tid_allocator.h |