#include "pls/internal/base/thread.h" namespace pls { namespace internal { namespace base { #ifdef PLS_THREAD_SPECIFIC_PTHREAD pthread_key_t this_thread::local_storage_key_ = false; bool this_thread::local_storage_key_initialized_; #endif #ifdef PLS_THREAD_SPECIFIC_COMPILER __thread void* this_thread::local_state_; #endif // implementation in header (C++ templating) } } }