This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/core/iwasm
Georgii Rylov 2de24587a8
Fix wait_info data race for deletion and fix atomic_wait logic (#2016)
Fix a data race for test main_proc_exit_wait.c from #1963.
And fix atomic_wait logic that was wrong before:
- a thread 1 started executing wasm instruction wasm_atomic_wait
  but hasn't reached waiting on condition variable
- a main thread calls proc_exit and notifies all the threads that reached
  waiting on condition variable
Which leads to thread 1 hang on waiting on condition variable after that

Now it's atomically checked whether proc_exit was already called.
2023-03-13 10:19:17 +08:00
..
aot Fix multi-threading issues (#2013) 2023-03-08 10:57:22 +08:00
common Fix wait_info data race for deletion and fix atomic_wait logic (#2016) 2023-03-13 10:19:17 +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 Expose wasm_runtime_call_indirect (#1969) 2023-02-20 18:56:55 +08:00
interpreter Fix multi-threading issues (#2013) 2023-03-08 10:57:22 +08:00
libraries Fix wait_info data race for deletion and fix atomic_wait logic (#2016) 2023-03-13 10:19:17 +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