wasm-micro-runtime/core/iwasm
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
..
aot Don't call start/initialize in child thread's instantiation (#1967) 2023-02-17 15:11:05 +08:00
common Merge branch main into dev/wasi_threads 2023-02-17 08:46:12 +08:00
compilation Make memory profiling show native stack usage (#1917) 2023-02-01 11:52:15 +08:00
fast-jit Enable running mode control for runtime and module instance (#1923) 2023-02-02 18:16:01 +08:00
include Improve wasm-c-api instantiation-time linking (#1902) 2023-02-13 15:06:04 +08:00
interpreter Merge pull request #1966 from bytecodealliance/dev/wasi_threads 2023-02-17 17:42:47 +08:00
libraries Fix possible data race in thread manager (#1973) 2023-02-20 17:11:21 +08:00
README.md Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00