mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 15:05:19 +00:00
04616d398d
In wasm_cluster_create_thread, the new_exec_env is added into the cluster's exec_env list before the thread is created, so other threads can access the fields of new_exec_env once the cluster->lock is unlocked, while the new_exec_env's handle is set later inside the thread routine. This may result in the new_exec_env's handle be invalidly accessed by other threads. |
||
---|---|---|
.. | ||
debug-engine | ||
lib-pthread | ||
lib-rats | ||
lib-socket | ||
lib-wasi-threads | ||
libc-builtin | ||
libc-emcc | ||
libc-uvwasi | ||
libc-wasi | ||
thread-mgr | ||
wasi-nn |