Hi, I'm currently working on a permission system for my application in order to run user (= untrusted) js code. I have read about isolates which separate the user code from the main code. I would also like to limit the execution time of that isolate to give the main code a chance to handle this situation. My question is, if there is any build in functionality to stop an isolate from running infinitely (e.g. if the code contains something like *while(true){...}* ) or if it is ok to cancel the thread running the isolate by calling* **pthread_cancel *(do any memory leaks occur at this situation?).
-- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users