aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenutil/include')
-rw-r--r--src/zenutil/include/zenutil/workerpools.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/zenutil/include/zenutil/workerpools.h b/src/zenutil/include/zenutil/workerpools.h
index 339120ece..78a8e5c5e 100644
--- a/src/zenutil/include/zenutil/workerpools.h
+++ b/src/zenutil/include/zenutil/workerpools.h
@@ -6,10 +6,13 @@
namespace zen {
-// Worker pool with std::thread::hardware_concurrency() worker threads
+// Worker pool with std::thread::hardware_concurrency() worker threads, but at least one thread
WorkerThreadPool& GetLargeWorkerPool();
-// Worker pool with std::thread::hardware_concurrency() / 4 worker threads
+// Worker pool with std::thread::hardware_concurrency() / 4 worker threads, but at least one thread
+WorkerThreadPool& GetMediumWorkerPool();
+
+// Worker pool with std::thread::hardware_concurrency() / 8 worker threads, but at least one thread
WorkerThreadPool& GetSmallWorkerPool();
// Special worker pool that does not use worker thread but issues all scheduled work on the calling thread