Support multiple interrupt requests in v8 API.
authoralph <alph@chromium.org>
Sat, 20 Dec 2014 07:54:03 +0000 (23:54 -0800)
committerCommit bot <commit-bot@chromium.org>
Sat, 20 Dec 2014 07:54:19 +0000 (07:54 +0000)
commit87e4bba31eabfd3b12e42b5886dc9da08d2daf13
treece101e2fd8df78162fe0f763acf50f7aaa895bd9
parent600354826b2e02cf7e82a436225d72228060b4e6
Support multiple interrupt requests in v8 API.

There might be a number of clients that would like to
setup an interrupt request on the Isolate.

The patch also deprecates ClearInterrupt API. As long as
the interrupt handler is called outside of locks there's no way
to guarantee that the handler will not be called after
ClearInterrupt was invoked as it might have already started execution.

Review URL: https://codereview.chromium.org/796623003

Cr-Commit-Position: refs/heads/master@{#25910}
include/v8.h
src/api.cc
src/execution.cc
src/isolate.cc
src/isolate.h
test/cctest/test-api.cc