wasm-micro-runtime/core/iwasm/libraries/thread-mgr
Wenyong Huang 04616d398d
Fix wasm_cluster_create_thread issue (#2004)
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.
2023-03-06 18:51:13 +08:00
..
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00
thread_manager.c Fix wasm_cluster_create_thread issue (#2004) 2023-03-06 18:51:13 +08:00
thread_manager.h Fix issues in the libc-wasi poll_oneoff when thread-mgr is enabled (#1980) 2023-02-23 16:11:33 +08:00
thread_mgr.cmake Enable shared memory && add pthread support (#282) 2020-06-15 19:04:04 +08:00