aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-10-10 15:34:30 +0200
committerStefan Boberg <[email protected]>2025-10-10 15:34:30 +0200
commit07e2df59856ef71bcac54d47c9d4d35b6f9ba7cd (patch)
tree53b8f7e17e1f57af409e703f0a2ffcb7f90378ab /src/zenutil/include
parentmade server count dynamic via `--count` argument (diff)
downloadzen-07e2df59856ef71bcac54d47c9d4d35b6f9ba7cd.tar.xz
zen-07e2df59856ef71bcac54d47c9d4d35b6f9ba7cd.zip
added --corelimit option to zenserver
Diffstat (limited to 'src/zenutil/include')
-rw-r--r--src/zenutil/include/zenutil/workerpools.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zenutil/include/zenutil/workerpools.h b/src/zenutil/include/zenutil/workerpools.h
index df2033bca..3c388dcbe 100644
--- a/src/zenutil/include/zenutil/workerpools.h
+++ b/src/zenutil/include/zenutil/workerpools.h
@@ -12,13 +12,13 @@ enum class EWorkloadType
Background // Used for background jobs such as GC/Scrub/oplog import-export
};
-// Worker pool with std::thread::hardware_concurrency() worker threads, but at least one thread
+// Worker pool with GetHardwareConcurrency() worker threads, but at least one thread
WorkerThreadPool& GetLargeWorkerPool(EWorkloadType WorkloadType);
-// Worker pool with std::thread::hardware_concurrency() / 4 worker threads, but at least one thread
+// Worker pool with GetHardwareConcurrency() / 4 worker threads, but at least one thread
WorkerThreadPool& GetMediumWorkerPool(EWorkloadType WorkloadType);
-// Worker pool with std::thread::hardware_concurrency() / 8 worker threads, but at least one thread
+// Worker pool with GetHardwareConcurrency() / 8 worker threads, but at least one thread
WorkerThreadPool& GetSmallWorkerPool(EWorkloadType WorkloadType);
// Worker pool with minimum number of worker threads, but at least one thread