mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-25 10:21:16 +00:00
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. |
||
|---|---|---|
| .. | ||
| alios | ||
| android | ||
| common | ||
| darwin | ||
| ego | ||
| esp-idf | ||
| freebsd | ||
| include | ||
| linux | ||
| linux-sgx | ||
| nuttx | ||
| riot | ||
| rt-thread | ||
| vxworks | ||
| windows | ||
| zephyr | ||
| README.md | ||
This folder contains the platform abstract layer for multiple platforms. To support a new platform, you can simply create a new folder here and implement all the APIs defined in include folder.
Refer to port_wamr.md for how to port WAMR to a target platform.