On Mar 29, 2010, at 5:14 PM, Dmitry Titov wrote:

> JSC workers are terminated by setting a 1-ms timeout. V8 workers terminate by 
> throwing exception of a special kind and then checking for it in C++ code.

There is precedent in JavaScriptCore for using a special exception to terminate 
code. InterruptedExecutionError is used for this purpose. I could imagine 
having something similar for workers. A timeout sounds like a poor way to do it.

    -- Darin

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to