wasm-micro-runtime/core/iwasm/libraries/lib-wasi-threads/test
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
..
build.sh
common.h
create_threads_until_limit.c
global_atomic.c
global_lock.c
linear_memory_size_update.c
main_proc_exit_busy.c
main_proc_exit_busy.json
main_proc_exit_sleep.c
main_proc_exit_sleep.json
main_proc_exit_wait.c
main_proc_exit_wait.json
main_trap_busy.c
main_trap_busy.json
main_trap_sleep.c
main_trap_sleep.json
main_trap_wait.c
main_trap_wait.json
nonmain_proc_exit_busy.c
nonmain_proc_exit_busy.json
nonmain_proc_exit_sleep.c
nonmain_proc_exit_sleep.json
nonmain_proc_exit_wait.c
nonmain_proc_exit_wait.json
nonmain_trap_busy.c
nonmain_trap_busy.json
nonmain_trap_sleep.c
nonmain_trap_sleep.json
nonmain_trap_wait.c
nonmain_trap_wait.json
spawn_multiple_times.c
sync_primitives.h
trap_after_main_thread_finishes.c Return error when exception was raised after main thread finishes (#2169) 2023-05-05 09:20:05 +08:00
trap_after_main_thread_finishes.json Return error when exception was raised after main thread finishes (#2169) 2023-05-05 09:20:05 +08:00
update_shared_data_and_alloc_heap.c