Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
static deferredAdd_t s_deferredUDPadds;
static deferredAdd_t s_deferredTCPadds;
-/* first we have the handler thread, t_id == 0 (thread not created as a RecursorThread have t_id = NOT_INITED)
+/* first we have the handler thread, t_id == 0 (threads not created as a RecursorThread have t_id = NOT_INITED)
then the distributor threads if any
and finally the workers */
std::vector<RecThreadInfo> RecThreadInfo::s_threadInfos;
std::string name;
std::thread thread;
int exitCode{0};
- unsigned int d_myid{TID_NOT_INITED}; // should always equal to the thread_local tid;
+ unsigned int d_myid{TID_NOT_INITED}; // should always be equal to the thread_local tid;
// handle the web server, carbon, statistics and the control channel
bool handler{false};