Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index ba4d19b01d45bba7981f4849eafcd81acc49ad37..be838c2b22045f6fcaaf527012118ef645153b61 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -4592,40 +4592,6 @@ class V8_EXPORT V8 { |
intptr_t change_in_bytes); |
/** |
- * Retrieve the V8 thread id of the calling thread. |
- * |
- * The thread id for a thread should only be retrieved after the V8 |
- * lock has been acquired with a Locker object with that thread. |
- */ |
- static int GetCurrentThreadId(); |
- |
- /** |
- * Forcefully terminate execution of a JavaScript thread. This can |
- * be used to terminate long-running scripts. |
- * |
- * TerminateExecution should only be called when then V8 lock has |
- * been acquired with a Locker object. Therefore, in order to be |
- * able to terminate long-running threads, preemption must be |
- * enabled to allow the user of TerminateExecution to acquire the |
- * lock. |
- * |
- * The termination is achieved by throwing an exception that is |
- * uncatchable by JavaScript exception handlers. Termination |
- * exceptions act as if they were caught by a C++ TryCatch exception |
- * handler. If forceful termination is used, any C++ TryCatch |
- * exception handler that catches an exception should check if that |
- * exception is a termination exception and immediately return if |
- * that is the case. Returning immediately in that case will |
- * continue the propagation of the termination exception if needed. |
- * |
- * The thread id passed to TerminateExecution must have been |
- * obtained by calling GetCurrentThreadId on the thread in question. |
- * |
- * \param thread_id The thread id of the thread to terminate. |
- */ |
- static void TerminateExecution(int thread_id); |
- |
- /** |
* Forcefully terminate the current thread of JavaScript execution |
* in the given isolate. If no isolate is provided, the default |
* isolate is used. |