aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/workthreadpool.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-04-23 18:16:57 +0200
committerStefan Boberg <[email protected]>2026-04-23 18:16:57 +0200
commit0232b991cd7d8e3a2114ea30e4591dd3e7b65c36 (patch)
tree94730e7594fd09ae1fa820391ce311f6daf13905 /src/zencore/workthreadpool.cpp
parentFix forward declaration order for s_GotSigWinch and SigWinchHandler (diff)
parenttrace: declare Region event name fields as AnsiString (#1012) (diff)
downloadarchived-zen-sb/zen-help.tar.xz
archived-zen-sb/zen-help.zip
Merge branch 'main' into sb/zen-helpsb/zen-help
- Combine HelpCommand (this branch) with HistoryCommand (main) in zen CLI dispatcher - Keep filter-aware TuiPickOne rewrite; adopt main's ASCII arrow glyphs in doc comment
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)