wasm-micro-runtime/core/iwasm
Wenyong Huang 49d439a3bc
Fix/Simplify the atomic.wait/nofity implementations (#2044)
Use the shared memory's shared_mem_lock to lock the whole atomic.wait and
atomic.notify processes, and use it for os_cond_reltimedwait and os_cond_notify,
so as to make the whole processes actual atomic operations:
the original implementation accesses the wait address with shared_mem_lock
and uses wait_node->wait_lock for os_cond_reltimedwait, which is not an atomic
operation.

And remove the unnecessary wait_map_lock and wait_lock, since the whole
processes are already locked by shared_mem_lock.
2023-03-23 09:21:16 +08:00
..
aot Fix atomic.wait, get wasi_ctx exit code and thread mgr issues (#2024) 2023-03-15 07:47:36 +08:00
common Fix/Simplify the atomic.wait/nofity implementations (#2044) 2023-03-23 09:21:16 +08:00
compilation Fix multi-threading issues (#2013) 2023-03-08 10:57:22 +08:00
fast-jit Fix fast-jit build error (#2023) 2023-03-12 20:17:49 +08:00
include Rename parameter names in wasm_runtime_instantiate (#2045) 2023-03-22 17:39:08 +08:00
interpreter Fix/Simplify the atomic.wait/nofity implementations (#2044) 2023-03-23 09:21:16 +08:00
libraries Fix dead lock in source debugger (#2040) 2023-03-20 08:17:22 +08:00
README.md Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00