wasm-micro-runtime/core/iwasm/common
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
..
arch Fix stack alignment issue on ia32 (#1934) 2023-02-06 09:07:00 +08:00
iwasm_common.cmake Implement invokeNative asm code for MinGW (#1753) 2022-11-28 17:48:06 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00
wasm_application.c Fix multi-threading issues (#2013) 2023-03-08 10:57:22 +08:00
wasm_c_api_internal.h wasm-c-api: Fix init/destroy thread env multiple times issue (#1766) 2022-12-05 11:16:14 +08:00
wasm_c_api.c Fix issues reported by Coverity static analysis (#1974) 2023-02-22 11:10:21 +08:00
wasm_exec_env.c Fix multi-threading issues (#2013) 2023-03-08 10:57:22 +08:00
wasm_exec_env.h Merge branch main into dev/wasi_threads 2023-02-17 08:46:12 +08:00
wasm_memory.c Add/reorganize locks for thread synchronization (#1995) 2023-03-04 08:15:26 +08:00
wasm_memory.h Add/reorganize locks for thread synchronization (#1995) 2023-03-04 08:15:26 +08:00
wasm_native.c Merge branch main into dev/wasi_threads 2023-02-17 08:46:12 +08:00
wasm_native.h Add wasm_runtime_unregister_natives (#1647) 2022-10-28 11:03:39 +08:00
wasm_runtime_common.c Fix atomic.wait, get wasi_ctx exit code and thread mgr issues (#2024) 2023-03-15 07:47:36 +08:00
wasm_runtime_common.h Expose wasm_runtime_call_indirect (#1969) 2023-02-20 18:56:55 +08:00
wasm_shared_memory.c Fix atomic.wait, get wasi_ctx exit code and thread mgr issues (#2024) 2023-03-15 07:47:36 +08:00
wasm_shared_memory.h Fix atomic.wait, get wasi_ctx exit code and thread mgr issues (#2024) 2023-03-15 07:47:36 +08:00