From 7ba7efa5b8f0a28f8ad62da47458fa80415cd9d9 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Thu, 31 Mar 2022 11:32:37 +0200 Subject: remove WorkerThreadPool::Flush() --- zencore/workthreadpool.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'zencore/workthreadpool.cpp') diff --git a/zencore/workthreadpool.cpp b/zencore/workthreadpool.cpp index a6c6bc0f7..4291d1581 100644 --- a/zencore/workthreadpool.cpp +++ b/zencore/workthreadpool.cpp @@ -54,15 +54,6 @@ WorkerThreadPool::PendingWork() const return m_WorkQueue.Size(); } -void -WorkerThreadPool::Flush() -{ - while (m_WorkQueue.Size() > 0) - { - Sleep(1); - } -} - void WorkerThreadPool::WorkerThreadFunction() { -- cgit v1.2.3