From: Otto Moerbeek Date: Fri, 4 Feb 2022 09:19:44 +0000 (+0100) Subject: Process review comments: rename getname() and move name in RecThreadInfo class X-Git-Tag: auth-4.7.0-alpha1~19^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11252%2Fhead;p=thirdparty%2Fpdns.git Process review comments: rename getname() and move name in RecThreadInfo class --- 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;