wasm-micro-runtime/samples/multi-thread/wasm-apps
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
..
CMakeLists.txt Use shared memory lock for threads generated from same module () 2023-02-16 11:54:19 +08:00
main_global_atomic.c Use shared memory lock for threads generated from same module () 2023-02-16 11:54:19 +08:00
main_thread_exception.c Main thread spread exception when thread-mgr is enabled () 2023-01-20 08:54:27 +08:00
main.c Implement POSIX semaphore support for linux platform () 2022-08-08 19:59:46 +08:00