status: thread local
This commit is contained in:
parent
ebbb3fe195
commit
48f21ee71d
@ -8,7 +8,7 @@ namespace status
|
|||||||
{
|
{
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
int client_num_;
|
thread_local int client_num_;
|
||||||
|
|
||||||
void print_client_num(int channel, int label, const char* fmt, const int client_num)
|
void print_client_num(int channel, int label, const char* fmt, const int client_num)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user