| Index: Source/core/workers/WorkerThread.cpp
|
| diff --git a/Source/core/workers/WorkerThread.cpp b/Source/core/workers/WorkerThread.cpp
|
| index 8c20669eba7588ac47291a2f52e4b2a0e5cd0f5b..6a0ad514baf928787325d3b33eb458c05488f8c3 100644
|
| --- a/Source/core/workers/WorkerThread.cpp
|
| +++ b/Source/core/workers/WorkerThread.cpp
|
| @@ -416,6 +416,12 @@ void WorkerThread::stopInShutdownSequence()
|
| stopInternal();
|
| }
|
|
|
| +void WorkerThread::terminateAndWait()
|
| +{
|
| + stop();
|
| + m_terminationEvent->wait();
|
| +}
|
| +
|
| bool WorkerThread::terminated()
|
| {
|
| MutexLocker lock(m_threadCreationMutex);
|
|
|