From 71c927c30e6e2cb2276d22061fa2a4786b6a790d Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Mon, 27 Dec 2010 17:41:30 +0000 Subject: [PATCH] ThreadNumber: tiny improvement. --- libs/libcommon/src/ThreadNumber.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/libcommon/src/ThreadNumber.cpp b/libs/libcommon/src/ThreadNumber.cpp index 7c535244497..abaec8c3d8a 100644 --- a/libs/libcommon/src/ThreadNumber.cpp +++ b/libs/libcommon/src/ThreadNumber.cpp @@ -4,8 +4,8 @@ #include -__thread unsigned thread_number = 0; -unsigned threads = 0; +static __thread unsigned thread_number = 0; +static unsigned threads = 0; unsigned ThreadNumber::get() {