Go to file
yangguo@chromium.org 4cd41edcd9 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 <andrew@ishiboo.com>.

Review URL: https://chromiumcodereview.appspot.com/11142013
Patch from Andrew Paprocki <andrew@ishiboo.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13218 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-12-13 16:38:49 +00:00
benchmarks More fixes for V8 benchmark version 7. 2012-03-15 17:13:50 +00:00
build Define CAN_USE_VFP2/3_INSTRUCTIONS based on arm_neon and arm_fpu flags. 2012-12-07 15:28:40 +00:00
include Add methods to allow resuming execution after calling TerminateExecution(). 2012-12-13 16:38:49 +00:00
preparser Fix a bunch of implicit casts detected by the Win64 compiler 2012-06-19 13:45:30 +00:00
samples Send non-JS output (e.g. errors) to stderr, instead of stdout. 2012-11-13 10:31:40 +00:00
src Add methods to allow resuming execution after calling TerminateExecution(). 2012-12-13 16:38:49 +00:00
test Add methods to allow resuming execution after calling TerminateExecution(). 2012-12-13 16:38:49 +00:00
tools Add HTML-based tick processor 2012-12-12 15:06:50 +00:00
.gitignore git should ignore .d8_history (d8 readline history) 2012-11-13 21:43:38 +00:00
AUTHORS Add methods to allow resuming execution after calling TerminateExecution(). 2012-12-13 16:38:49 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.15.12. 2012-12-10 18:58:32 +00:00
DEPS Pull more recent gyp. 2012-09-26 09:12:45 +00:00
LICENSE Update LICENSE file 2012-01-03 16:38:42 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile Revert 13157, 13145 and 13140: Crankshaft code stubs. 2012-12-10 11:09:12 +00:00
Makefile.android Change the Android makefile to use GCC 4.6 instead of GCC 4.4.3. 2012-10-02 13:20:27 +00:00
OWNERS Add OWNERS file 2012-10-08 11:58:08 +00:00
PRESUBMIT.py Add PRESUBMIT script to V8 2012-10-08 13:49:57 +00:00
SConstruct Kill off the SCons based build. 2012-10-18 13:07:41 +00:00