Reviewers: danno, Vyacheslav Egorov (Google),
Message:
On 2012/12/06 14:35:29, Vyacheslav Egorov (Google) wrote:
Forwarding to Daniel Clifford (V8 TLM) for review.
https://codereview.chromium.org/11142013/diff/1/AUTHORS
File AUTHORS (right):
https://codereview.chromium.org/11142013/diff/1/AUTHORS#newcode12
AUTHORS:12: Bloomberg Finance L.P.
If you are contributing on organization's behalf please ensure that
corporate
CLA is signed and you are listed there:
https://code.google.com/legal/corporate-cla-v1.0.html
and remove yourself from the individual list below.
Otherwise if you are contributing as an individual please ensure you have
signed
individual CLA (https://code.google.com/legal/individual-cla-v1.0.html)
and
remove organization from this list.
I removed myself from AUTHORS. I'm working on getting the corporate CLA
signed/submitted today.
Description:
Add methods to allow resuming execution after calling TerminateExecution().
Two new methods are added to allow embedders to determine that execution
should be resumed at a particular point in the stack without being forced
to unwind all JS frames.
* V8::ResumeExecution() -- When execution is terminated via a call to
V8::TerminateExecution(), this method can be called to clear the
termination exception so that the engine can continue to be used.
* TryCatch::HasTerminated() -- When a TryCatch has caught a termination
exception, HasTerminated() will return true to indicate it is valid to
call V8::ResumeExecution() if desired.
A test case is added to cctest/test-thread-termination.cc.
BUG=v8:2361
Patch from Andrew Paprocki <[email protected]>.
Please review this at https://codereview.chromium.org/11142013/
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M AUTHORS
M include/v8.h
M src/api.cc
M src/execution.h
M src/execution.cc
M src/isolate.h
M src/isolate.cc
M test/cctest/test-thread-termination.cc
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev