wasm-micro-runtime/core/iwasm
YAMAMOTO Takashi 9afbeab1c8
wasi: Apply wasm_runtime_begin_blocking_op to poll as well (#3080)
While we used a different approach for poll_oneoff [1],
the implementation works only when the poll list includes
an absolute clock event. That is, if we have a thread which is
polling on descriptors without a timeout, we fail to terminate
the thread.

This commit fixes it by applying wasm_runtime_begin_blocking_op
to poll as well.

[1] https://github.com/bytecodealliance/wasm-micro-runtime/pull/1951
2024-01-25 16:29:34 +08:00
..
aot Fix some issues reported by CodeQL (#3064) 2024-01-23 21:38:30 +08:00
common Fix some issues reported by CodeQL (#3064) 2024-01-23 21:38:30 +08:00
compilation Fix aot large model (--size-level=0) with LLVM 18 (#3057) 2024-01-19 19:43:41 +08:00
doc Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00
fast-jit Enhancements on wasm function execution time statistic (#2985) 2024-01-17 09:51:54 +08:00
include wasm_runtime_begin_blocking_op: A comment about usage expectation (#3056) 2024-01-19 18:31:21 +08:00
interpreter Fix some issues reported by CodeQL (#3064) 2024-01-23 21:38:30 +08:00
libraries wasi: Apply wasm_runtime_begin_blocking_op to poll as well (#3080) 2024-01-25 16:29:34 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00