wasm-micro-runtime/core/iwasm/libraries/libc-wasi
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
..
sandboxed-system-primitives wasi: Apply wasm_runtime_begin_blocking_op to poll as well (#3080) 2024-01-25 16:29:34 +08:00
libc_wasi_wrapper.c Remove a lot of "unused parameter" warnings (#3075) 2024-01-24 11:21:13 +08:00
libc_wasi_wrapper.h Return uint32 from WASI functions (#2749) 2023-11-13 20:07:32 +08:00
libc_wasi.cmake Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00