Add IsExecutionTerminating api method.
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 4 Mar 2010 12:13:04 +0000 (12:13 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 4 Mar 2010 12:13:04 +0000 (12:13 +0000)
commitfe3b87557704752124b6e4eb60be1a67844b9277
tree19048497f6c5e0ef8e348011820058243174d195
parent9f85caeb2dd5f70134b06db5b287657bc762428c
Add IsExecutionTerminating api method.

IsExecutionTerminating returns true if a termination exception is
currently being propagated.  C++ code should not reenter V8 when
IsExecutionTerminating returns true.

Review URL: http://codereview.chromium.org/668052

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4016 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8.h
src/api.cc
test/cctest/test-thread-termination.cc