status: thread local

This commit is contained in:
Edo 2023-05-13 20:45:55 +01:00 committed by GitHub
parent ebbb3fe195
commit 48f21ee71d

View File

@ -8,7 +8,7 @@ namespace status
{
namespace
{
int client_num_;
thread_local int client_num_;
void print_client_num(int channel, int label, const char* fmt, const int client_num)
{