wasm-micro-runtime/core
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
..
app-framework Readme refactoring (#2038) 2023-03-19 08:05:57 +08:00
app-mgr Readme refactoring (#2038) 2023-03-19 08:05:57 +08:00
deps Integrate WASI-NN into WAMR (#1521) 2022-10-12 12:09:29 +08:00
iwasm Fix/Simplify the atomic.wait/nofity implementations (#2044) 2023-03-23 09:21:16 +08:00
shared Fix/Simplify the atomic.wait/nofity implementations (#2044) 2023-03-23 09:21:16 +08:00
config.h Enable aux stack allocations on application heap (#1799) 2022-12-19 10:58:12 +08:00
version.h Upgrade version number to 1.1.2 (#1788) 2022-12-20 14:37:07 +08:00