wasm-micro-runtime/core/shared
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
..
coap Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
mem-alloc Remove unnecessary app heap memory clean operations to reduce process RSS (#1608) 2022-10-18 18:02:48 +08:00
platform Fix/Simplify the atomic.wait/nofity implementations (#2044) 2023-03-23 09:21:16 +08:00
utils Fix equal check in AOT XIP float cmp intrinsic (#1847) 2022-12-29 18:11:05 +08:00