v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 2380 | skipping to change at line 2380 | |||
/** | /** | |||
* Forcefully terminate the current thread of JavaScript execution. | * Forcefully terminate the current thread of JavaScript execution. | |||
* | * | |||
* This method can be used by any thread even if that thread has not | * This method can be used by any thread even if that thread has not | |||
* acquired the V8 lock with a Locker object. | * acquired the V8 lock with a Locker object. | |||
*/ | */ | |||
static void TerminateExecution(); | static void TerminateExecution(); | |||
/** | /** | |||
* Is V8 terminating JavaScript execution. | ||||
* | ||||
* Returns true if JavaScript execution is currently terminating | ||||
* because of a call to TerminateExecution. In that case there are | ||||
* still JavaScript frames on the stack and the termination | ||||
* exception is still active. | ||||
*/ | ||||
static bool IsExecutionTerminating(); | ||||
/** | ||||
* Releases any resources used by v8 and stops any utility threads | * Releases any resources used by v8 and stops any utility threads | |||
* that may be running. Note that disposing v8 is permanent, it | * that may be running. Note that disposing v8 is permanent, it | |||
* cannot be reinitialized. | * cannot be reinitialized. | |||
* | * | |||
* It should generally not be necessary to dispose v8 before exiting | * It should generally not be necessary to dispose v8 before exiting | |||
* a process, this should happen automatically. It is only necessary | * a process, this should happen automatically. It is only necessary | |||
* to use if the process needs the resources taken up by v8. | * to use if the process needs the resources taken up by v8. | |||
*/ | */ | |||
static bool Dispose(); | static bool Dispose(); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 10 lines changed or added | |||