wasm-micro-runtime/core/iwasm/libraries/libc-wasi/sandboxed-system-primitives
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
..
include Refactor clock functions to use WASI types (#2666) 2023-10-25 18:06:04 +08:00
src wasi: Apply wasm_runtime_begin_blocking_op to poll as well (#3080) 2024-01-25 16:29:34 +08:00
LICENSE Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00