hi,

thank u very much:)
i'll try it right now

thanks
lei


2011/8/12 Mikhail Naganov <[email protected]>:
> Hello,
>
> You can interrupt VM execution from a parallel thread by executing
> v8::Debug::DebugBreak or v8::Debug::DebugBreakForCommand. Look into
> test/cctest/test-debug.cc for examples.
>
> On Fri, Aug 12, 2011 at 15:54, Six <[email protected]> wrote:
>> hello all, sorry to disturb u.
>>
>> i have a problem that how i can invoke v8::Script::Run in async method
>> or can i set a time-out value for it?
>> because sometimes a js will take too long time.
>>
>> just like:
>> // compile
>> while (some condition) {
>>  result = v8::Script::Run();
>>  // check the result
>> }
>>
>> if u have answer, please mail me.
>> thanks very much!
>>
>> lei
>>
>> --
>> v8-users mailing list
>> [email protected]
>> http://groups.google.com/group/v8-users
>>
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users

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

Reply via email to