This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/core/iwasm/interpreter
Enrico Loparco 216dc43ab4
Use shared memory lock for threads generated from same module (#1960)
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.
2023-02-16 11:54:19 +08:00
..
iwasm_interp.cmake Implement wasm mini loader and refine footprint of loader and runtime (#276) 2020-06-08 11:19:09 +08:00
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00
wasm_interp_classic.c Use shared memory lock for threads generated from same module (#1960) 2023-02-16 11:54:19 +08:00
wasm_interp_fast.c Use shared memory lock for threads generated from same module (#1960) 2023-02-16 11:54:19 +08:00
wasm_interp.h Fix issue of restoring wasm operand stack (#1721) 2022-11-18 18:51:13 +08:00
wasm_loader.c Use shared memory lock for threads generated from same module (#1960) 2023-02-16 11:54:19 +08:00
wasm_loader.h Fix build error when enable custom section without interpreter (#1229) 2022-06-15 18:14:39 +08:00
wasm_mini_loader.c Use shared memory lock for threads generated from same module (#1960) 2023-02-16 11:54:19 +08:00
wasm_opcode.h Refine opcode br_table for classic interpreter (#1112) 2022-04-23 19:15:55 +08:00
wasm_runtime.c Use shared memory lock for threads generated from same module (#1960) 2023-02-16 11:54:19 +08:00
wasm_runtime.h Use shared memory lock for threads generated from same module (#1960) 2023-02-16 11:54:19 +08:00
wasm.h Use shared memory lock for threads generated from same module (#1960) 2023-02-16 11:54:19 +08:00