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 Add test for validating linear memory size updates (#2078) 2023-04-08 19:07:20 +08:00
common.h Update wasi-libc version in CI and implement custom sync primitives (#2028) 2023-03-26 09:03:26 +08:00
create_threads_until_limit.c Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
global_atomic.c Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
global_lock.c Update wasi-libc version in CI and implement custom sync primitives (#2028) 2023-03-26 09:03:26 +08:00
linear_memory_size_update.c Add test for validating linear memory size updates (#2078) 2023-04-08 19:07:20 +08:00
main_proc_exit_busy.c Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
main_proc_exit_busy.json Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
main_proc_exit_sleep.c Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
main_proc_exit_sleep.json Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
main_proc_exit_wait.c Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
main_proc_exit_wait.json Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
main_trap_busy.c Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
main_trap_busy.json Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
main_trap_sleep.c Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
main_trap_sleep.json Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
main_trap_wait.c Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
main_trap_wait.json Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
nonmain_proc_exit_busy.c Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
nonmain_proc_exit_busy.json Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
nonmain_proc_exit_sleep.c Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
nonmain_proc_exit_sleep.json Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
nonmain_proc_exit_wait.c Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
nonmain_proc_exit_wait.json Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
nonmain_trap_busy.c Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
nonmain_trap_busy.json Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
nonmain_trap_sleep.c Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
nonmain_trap_sleep.json Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
nonmain_trap_wait.c Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
nonmain_trap_wait.json Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
spawn_multiple_times.c Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
sync_primitives.h Update wasi-libc version in CI and implement custom sync primitives (#2028) 2023-03-26 09:03:26 +08:00
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 Fix atomic.wait, get wasi_ctx exit code and thread mgr issues (#2024) 2023-03-15 07:47:36 +08:00