wasm-micro-runtime/core/iwasm/libraries
Enrico Loparco 63273a1673
Fix issues in the libc-wasi poll_oneoff when thread-mgr is enabled (#1980)
Fix issues in the libc-wasi `poll_oneoff` when thread manager is enabled:
-  The exception of a thread may be cleared when other thread runs into
   `proc_exit` and then calls `clear_wasi_proc_exit_exception`, so should not
   use `wasm_runtime_get_exception` to check whether an exception was
    thrown, use `wasm_cluster_is_thread_terminated` instead
- We divided one time poll_oneoff into many times poll_oneoff to check
   the exception to avoid long time waiting in previous PR, but if all events
   returned by one time poll are all waiting events, we need to continue to
   wait but not return directly.

Follow-up on #1951. Tested with multiple timeout values, with and without
interruption and measured the time spent sleeping.
2023-02-23 16:11:33 +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 Fix build socket api error (#1610) 2022-10-17 15:54:03 +08:00
lib-wasi-threads Rename thread_spawn import (#1907) 2023-01-27 06:45:34 +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 issues in the libc-wasi poll_oneoff when thread-mgr is enabled (#1980) 2023-02-23 16:11:33 +08:00
wasi-nn wasi-nn: Enable GPU support (#1922) 2023-02-02 08:09:46 +08:00