Hi, For instance, let's assume that a script passed to my V8-based application includes following set of statements: ... var i = 1; while (i); ...
This artificial sample will cause hanging of the execution thread. Is there some way to define something like 'branch - statement' callback function (like already methioned earlier SpiderMonkey's JS_SetBranchCallback) which may be used for terminating the thread via v8::V8::TerminateExecution() under specified conditions (like execution time etc)? Thanks in advance, -- Dmitriy K. --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
