From 31d899b1c65f0cdd33426f749fe3c4098d033066 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 4 Feb 2022 10:19:44 +0100 Subject: [PATCH] Process review comments: rename getname() and move name in RecThreadInfo class --- pdns/rec_channel_rec.cc | 2 +- pdns/recursordist/rec-main.hh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pdns/rec_channel_rec.cc b/pdns/rec_channel_rec.cc index b03c314608..f948178905 100644 --- a/pdns/rec_channel_rec.cc +++ b/pdns/rec_channel_rec.cc @@ -1669,7 +1669,7 @@ static string doGenericTopQueries(pleasequeryfunc_t func, boost::function>& cpusMap); + std::string name; std::thread thread; int exitCode{0}; @@ -471,7 +472,6 @@ private: bool taskThread{false}; static thread_local unsigned int t_id; - std::string name; static std::vector s_threadInfos; static bool s_weDistributeQueries; // if true, 1 or more threads listen on the incoming query sockets and distribute them to workers static unsigned int s_numDistributorThreads; -- 2.47.2