aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/workthreadpool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zencore/workthreadpool.cpp')
-rw-r--r--src/zencore/workthreadpool.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/zencore/workthreadpool.cpp b/src/zencore/workthreadpool.cpp
index 1cb338c66..fb7edb2bd 100644
--- a/src/zencore/workthreadpool.cpp
+++ b/src/zencore/workthreadpool.cpp
@@ -4,6 +4,10 @@
#include <zencore/blockingqueue.h>
#include <zencore/except.h>
+
+ZEN_THIRD_PARTY_INCLUDES_START
+#include <EASTL/deque.h>
+ZEN_THIRD_PARTY_INCLUDES_END
#include <zencore/logging.h>
#include <zencore/scopeguard.h>
#include <zencore/string.h>
@@ -56,8 +60,8 @@ struct WorkerThreadPool::Impl
std::atomic<size_t> m_WorkerThreadCounter{0};
std::atomic<int> m_FreeWorkerCount{0};
- mutable RwLock m_QueueLock;
- std::deque<Ref<IWork>> m_WorkQueue;
+ mutable RwLock m_QueueLock;
+ eastl::deque<Ref<IWork>> m_WorkQueue;
Impl(int InThreadCount, std::string_view WorkerThreadBaseName)
: m_ThreadCount(InThreadCount)