#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 void thread::join() { pthread_join(pthread_thread_, nullptr); } } } }