mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
ThreadNumber: tiny improvement.
This commit is contained in:
parent
623f5a7680
commit
71c927c30e
@ -4,8 +4,8 @@
|
||||
#include <Yandex/ThreadNumber.h>
|
||||
|
||||
|
||||
__thread unsigned thread_number = 0;
|
||||
unsigned threads = 0;
|
||||
static __thread unsigned thread_number = 0;
|
||||
static unsigned threads = 0;
|
||||
|
||||
unsigned ThreadNumber::get()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user