aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/workerpools.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-13 17:06:39 +0100
committerStefan Boberg <[email protected]>2026-03-13 17:06:39 +0100
commit3abde8d88bde436dce423eae9edee0f4e8af915a (patch)
tree885ae916a94c9b350d72717666f43e78bef88d4e /src/zenutil/workerpools.cpp
parentUnix Domain Socket auto discovery (#833) (diff)
downloadzen-3abde8d88bde436dce423eae9edee0f4e8af915a.tar.xz
zen-3abde8d88bde436dce423eae9edee0f4e8af915a.zip
Add clang-cl build support
- Add clang-cl warning suppressions in xmake.lua matching Linux/macOS set - Guard /experimental:c11atomics with {tools="cl"} for MSVC-only - Fix long long / int64_t redefinition in string.h for clang-cl - Fix unclosed namespace in callstacktrace.cpp #else branch - Fix missing override in httpplugin.cpp - Reorder WorkerPool fields to match designated initializer order - Use INVALID_SOCKET instead of SOCKET_ERROR for SOCKET comparisons
Diffstat (limited to 'src/zenutil/workerpools.cpp')
-rw-r--r--src/zenutil/workerpools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenutil/workerpools.cpp b/src/zenutil/workerpools.cpp
index 1bab39b2a..25f961f77 100644
--- a/src/zenutil/workerpools.cpp
+++ b/src/zenutil/workerpools.cpp
@@ -25,9 +25,9 @@ namespace {
struct WorkerPool
{
- std::unique_ptr<WorkerThreadPool> Pool;
const int TreadCount;
const std::string_view Name;
+ std::unique_ptr<WorkerThreadPool> Pool;
};
WorkerPool BurstLargeWorkerPool = {.TreadCount = LargeWorkerThreadPoolTreadCount, .Name = "large"};