wasm-micro-runtime/core/iwasm/libraries
Wenyong Huang e516de8ec7
Fix possible data race in thread manager (#1973)
Destroy child thread's exec_env before destroying its module instance and
add the process into cluster's lock to avoid possible data race: if exec_env
is removed from custer's exec_env_list and destroyed later, the main thread
may not wait it and start to destroy the wasm runtime, and the destroying
of the sub thread's exec_env may free or overread/written an destroyed or
re-initialized resource.

And fix an issue in wasm_cluster_cancel_thread.
2023-02-20 17:11:21 +08:00
..
debug-engine Update release notes and fix issues reported by Coverity (#1813) 2022-12-20 14:37:07 +08:00
lib-pthread Merge branch main into dev/wasi_threads 2023-02-17 08:46:12 +08:00
lib-rats Create module hash for each module in SGX lib-rats (#1745) 2022-11-24 21:48:50 +08:00
lib-socket Fix build socket api error (#1610) 2022-10-17 15:54:03 +08:00
lib-wasi-threads Rename thread_spawn import (#1907) 2023-01-27 06:45:34 +08:00
libc-builtin Clear some warnings and enable -Werror for NuttX (#1756) 2022-11-28 09:44:33 +08:00
libc-emcc Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
libc-uvwasi Add wasm_runtime_get_wasi_exit_code (#1748) 2022-11-24 20:26:18 +08:00
libc-wasi Modify poll_oneoff in libc-wasi to make it interruptible (#1951) 2023-02-16 21:03:33 +08:00
thread-mgr Fix possible data race in thread manager (#1973) 2023-02-20 17:11:21 +08:00
wasi-nn wasi-nn: Enable GPU support (#1922) 2023-02-02 08:09:46 +08:00