wasm-micro-runtime/core/iwasm/libraries/lib-wasi-threads/test
Wenyong Huang bab2402b6e
Fix atomic.wait, get wasi_ctx exit code and thread mgr issues (#2024)
- Remove notify_stale_threads_on_exception and change atomic.wait
  to be interruptible by keep waiting and checking every one second,
  like the implementation of poll_oneoff in libc-wasi
- Wait all other threads exit and then get wasi exit_code to avoid
  getting invalid value
- Inherit suspend_flags of parent thread while creating new thread to
  avoid terminated flag isn't set for new thread
- Fix wasi-threads test case update_shared_data_and_alloc_heap
- Add "Lib wasi-threads enabled" prompt for cmake
- Fix aot get exception, use aot_copy_exception instead
2023-03-15 07:47:36 +08:00
..
build.sh Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +08:00
common.h Fix wait_info data race for deletion and fix atomic_wait logic (#2016) 2023-03-13 10:19:17 +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 Add internal tests for WASI threads (#1963) 2023-03-09 09:03:16 +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
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