mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-11 17:35:13 +00:00
![]() Raising "wasi proc exit" exception, spreading it to other threads and then clearing it in all threads may result in unexpected behavior: the sub thread may end first, handle the "wasi proc exit" exception and clear exceptions of other threads, including the main thread. And when main thread's exception is cleared, it may continue to run and throw "unreachable" exception. This also leads to some assertion failed. Ignore exception spreading for "wasi proc exit" and don't clear exception of other threads to resolve the issue. And add suspend flag check after atomic wait since the atomic wait may be notified by other thread when exception occurs. |
||
---|---|---|
.. | ||
iwasm_interp.cmake | ||
SConscript | ||
wasm_interp_classic.c | ||
wasm_interp_fast.c | ||
wasm_interp.h | ||
wasm_loader.c | ||
wasm_loader.h | ||
wasm_mini_loader.c | ||
wasm_opcode.h | ||
wasm_runtime.c | ||
wasm_runtime.h | ||
wasm.h |