Index: Source/core/workers/WorkerThread.h |
diff --git a/Source/core/workers/WorkerThread.h b/Source/core/workers/WorkerThread.h |
index f1d083b1e768abdcbf4f0daa9be2c5610adc4de9..89f4799a7838db92c78751d8f1478d36284deccd 100644 |
--- a/Source/core/workers/WorkerThread.h |
+++ b/Source/core/workers/WorkerThread.h |
@@ -69,6 +69,7 @@ public: |
WebWaitableEvent* shutdownEvent() { return m_shutdownEvent.get(); } |
WebWaitableEvent* terminationEvent() { return m_terminationEvent.get(); } |
+ void terminateAndWait(); |
static void terminateAndWaitForAllWorkers(); |
bool isCurrentThread() const; |