wasm-micro-runtime/core/iwasm/libraries/lib-wasi-threads
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
..
test Return error when exception was raised after main thread finishes (#2169) 2023-05-05 09:20:05 +08:00
lib_wasi_threads_wrapper.c Use pre-created exec_env for instantiation and module_malloc/free (#2047) 2023-03-23 19:19:47 +08:00
lib_wasi_threads.cmake Reserve TID values for WASI threads (#1862) 2023-01-06 10:28:25 +08:00
tid_allocator.c Reserve TID values for WASI threads (#1862) 2023-01-06 10:28:25 +08:00
tid_allocator.h Reserve TID values for WASI threads (#1862) 2023-01-06 10:28:25 +08:00