From 61dc2e9353efddd2adf06f2cc8406f762fab2d6f Mon Sep 17 00:00:00 2001 From: yangwei Date: Tue, 30 Mar 2021 10:09:32 +0800 Subject: [PATCH] fix import --- inc/framework/common/debug/ge_log.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/framework/common/debug/ge_log.h b/inc/framework/common/debug/ge_log.h index 45db7e93..754712f3 100644 --- a/inc/framework/common/debug/ge_log.h +++ b/inc/framework/common/debug/ge_log.h @@ -42,9 +42,9 @@ class GE_FUNC_VISIBILITY GeLog { public: static uint64_t GetTid() { #ifdef __GNUC__ - thread_local static uint64_t tid = static_cast(syscall(__NR_gettid)); + uint64_t tid = static_cast(syscall(__NR_gettid)); #else - thread_local static uint64_t tid = static_cast(GetCurrentThreadId()); + uint64_t tid = static_cast(GetCurrentThreadId()); #endif return tid; }