mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-11-26 15:32:05 +00:00
216dc43ab4
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
main_global_atomic.c | ||
main_thread_exception.c | ||
main.c |