Closed
Description
It would be nice if the VM loop can be interruptible.
In those cases when the JerryScript is used as a library or embedded in a 3rd party application it is hard to be responsible for the application. If the execution of a JavaScript takes too much time - infinite loop, benchmarking, etc. - the main application is not able pause or brake the current execution context.
Is it possible to have a callback function mechanism implemented which is responsible to break or pause the current VM loop? Maybe this callback function can be called in backward loop instruction (if there is such).
Metadata
Metadata
Assignees
Labels
No labels