ThreadNumber: tiny improvement.

This commit is contained in:
Alexey Milovidov 2010-12-27 17:41:30 +00:00
parent 623f5a7680
commit 71c927c30e

View File

@ -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()
{