mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-11 09:25:20 +00:00
libc-wasi: Fix spurious poll timeout (#1824)
This reverts the "Fix libc-wasi poll_oneoff hang issue" change. https://github.com/bytecodealliance/wasm-micro-runtime/pull/1300
This commit is contained in:
parent
14288f59b0
commit
d04f3988c3
|
@ -2696,7 +2696,7 @@ wasmtime_ssp_poll_oneoff(
|
|||
timeout = ts > INT_MAX ? -1 : (int)ts;
|
||||
}
|
||||
else {
|
||||
timeout = 1000;
|
||||
timeout = -1;
|
||||
}
|
||||
int ret = poll(pfds, nsubscriptions, timeout);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user