VM timeout is not working #4779
Unanswered
LijieZhang1998
asked this question in
Q&A
Replies: 0 comments 1 reply
-
pyodide is a WASM blob and I'm like 85% sure WASM isn't interruptible like JS code is. You could try reporting that to the V8 project if there isn't an open bug report about it already. Technical details: I don't think V8's WASM compiler emits the StackCheck nodes that are necessary to detect execution termination. More specifically, leaf functions that don't throw or grow memory don't get them, and pyodide's main interpreter loop probably is that kind of leaf function. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm attempting to interrupt python code using pyodide running inside of vm. The
python while
loop can't be interrupted. Is there any idea? Thanks.This is my code.
Beta Was this translation helpful? Give feedback.
All reactions