wasm-micro-runtime/samples/multi-thread
Enrico Loparco 216dc43ab4
Use shared memory lock for threads generated from same module ()
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 .
2023-02-16 11:54:19 +08:00
..
wasm-apps Use shared memory lock for threads generated from same module () 2023-02-16 11:54:19 +08:00
CMakeLists.txt Use cmake POSITION_INDEPENDENT_CODE instead of hardcoding -pie -fPIE () 2022-10-19 01:51:18 +08:00