Status: Assigned
Owner: christian.plesner.hansen
Labels: Type-FeatureRequest Priority-Low

New issue 185 by christian.plesner.hansen: Add api call to interrupt v8
http://code.google.com/p/v8/issues/detail?id=185

Add an api call that allows another thread to interrupt v8.

This could be by throwing an exception and letting the script bail out
"cooperatively" as in Java.  However, JavaScript are unlikely to be
cooperative because catch clauses in JavaScript catch all exceptions
whereas in Java you usually only catch a specific class of exceptions.

Alternatively we can bail out forcefully, which may lead to resource leaks
because the script won't get a chance to clean up.  That's probably the
best option.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to