Closed shogo82148 closed 3 years ago
__thread keyword is a specific language enhancement of GCC. There is no guarantee that it will work on other platforms.
__thread
thread_local is C++11 standardized version of __thread. thread_local is more compatible than __thread.
thread_local
__thread
keyword is a specific language enhancement of GCC. There is no guarantee that it will work on other platforms.thread_local
is C++11 standardized version of__thread
.thread_local
is more compatible than__thread
.