mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-11-27 18:11:21 +00:00
Multiple threads generated from the same module should use the same lock to protect the atomic operations. Before this PR, each thread used a different lock to protect atomic operations (e.g. atomic add), making the lock ineffective. Fix #1958. |
||
|---|---|---|
| .. | ||
| arch | ||
| iwasm_common.cmake | ||
| SConscript | ||
| wasm_application.c | ||
| wasm_c_api_internal.h | ||
| wasm_c_api.c | ||
| wasm_exec_env.c | ||
| wasm_exec_env.h | ||
| wasm_memory.c | ||
| wasm_memory.h | ||
| wasm_native.c | ||
| wasm_native.h | ||
| wasm_runtime_common.c | ||
| wasm_runtime_common.h | ||
| wasm_shared_memory.c | ||
| wasm_shared_memory.h | ||