Home
last modified time | relevance | path

Searched refs:__thread_specific_ptr (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Dthread.h41 class __thread_specific_ptr; variable
46 _LIBCPP_EXPORTED_FROM_ABI __thread_specific_ptr<__thread_struct>& __thread_local_data();
63 class __thread_specific_ptr {
69 __thread_specific_ptr();
70 friend _LIBCPP_EXPORTED_FROM_ABI __thread_specific_ptr<__thread_struct>& __thread_local_data();
77 __thread_specific_ptr(const __thread_specific_ptr&) = delete;
78 __thread_specific_ptr& operator=(const __thread_specific_ptr&) = delete;
79 ~__thread_specific_ptr();
88 void _LIBCPP_TLS_DESTRUCTOR_CC __thread_specific_ptr<_Tp>::__at_thread_exit(void* __p) { in __at_thread_exit()
93 __thread_specific_ptr<_Tp>::__thread_specific_ptr() { in __thread_specific_ptr() function
[all …]
/freebsd/contrib/llvm-project/libcxx/src/
H A Dthread.cpp100 __thread_specific_ptr<__thread_struct>& __thread_local_data() { in hardware_concurrency()
101 // Even though __thread_specific_ptr's destructor doesn't actually destroy in hardware_concurrency()
105 alignas(__thread_specific_ptr<__thread_struct>) static char __b[sizeof(__thread_specific_ptr<__thread_struct>)];
106 static __thread_specific_ptr<__thread_struct>* __p = new (__b) __thread_specific_ptr<__thread_struct>();