Re: [webkit-dev] Cancel non-terminating JavaScriptCore JSEvaluate()?

2007-12-31 Thread Darin Adler
On Dec 28, 2007, at 2:35 PM, Dan Waylonis wrote: If I send some non-terminating code (e.g., while(1);) to JSEvaluate(), is there a way to have a watchdog thread/timer notice that JSEvaluate() is not terminating (after some amount of time) and cancel the code evaluation? I seem to

[webkit-dev] Cancel non-terminating JavaScriptCore JSEvaluate()?

2007-12-28 Thread Dan Waylonis
Hi, If I send some non-terminating code (e.g., while(1);) to JSEvaluate(), is there a way to have a watchdog thread/timer notice that JSEvaluate() is not terminating (after some amount of time) and cancel the code evaluation? I seem to remember reading that Safari3 has something like