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/libraries
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
..
debug-engine Update release notes and fix issues reported by Coverity (#1813) 2022-12-20 14:37:07 +08:00
lib-pthread Expose wasm_runtime_call_indirect (#1969) 2023-02-20 18:56:55 +08:00
lib-rats Create module hash for each module in SGX lib-rats (#1745) 2022-11-24 21:48:50 +08:00
lib-socket Add internal tests for socket apis (#1900) 2023-03-09 12:31:06 +08:00
lib-wasi-threads Fix wait_info data race for deletion and fix atomic_wait logic (#2016) 2023-03-13 10:19:17 +08:00
libc-builtin Clear some warnings and enable -Werror for NuttX (#1756) 2022-11-28 09:44:33 +08:00
libc-emcc Expose wasm_runtime_call_indirect (#1969) 2023-02-20 18:56:55 +08:00
libc-uvwasi Add wasm_runtime_get_wasi_exit_code (#1748) 2022-11-24 20:26:18 +08:00
libc-wasi Fix issues in the libc-wasi poll_oneoff when thread-mgr is enabled (#1980) 2023-02-23 16:11:33 +08:00
thread-mgr Fix multi-threading issues (#2013) 2023-03-08 10:57:22 +08:00
wasi-nn wasi-nn: Support multiple TFLite models (#2002) 2023-03-08 15:54:06 +08:00