Lines Matching defs:__thread_specific_ptr
48 class __thread_specific_ptr;
53 _LIBCPP_EXPORTED_FROM_ABI __thread_specific_ptr<__thread_struct>& __thread_local_data();
70 class __thread_specific_ptr {
73 // Only __thread_local_data() may construct a __thread_specific_ptr
76 __thread_specific_ptr();
77 friend _LIBCPP_EXPORTED_FROM_ABI __thread_specific_ptr<__thread_struct>& __thread_local_data();
84 __thread_specific_ptr(const __thread_specific_ptr&) = delete;
85 __thread_specific_ptr& operator=(const __thread_specific_ptr&) = delete;
86 ~__thread_specific_ptr();
95 void _LIBCPP_TLS_DESTRUCTOR_CC __thread_specific_ptr<_Tp>::__at_thread_exit(void* __p) {
100 __thread_specific_ptr<_Tp>::__thread_specific_ptr() {
101 int __ec = __libcpp_tls_create(&__key_, &__thread_specific_ptr::__at_thread_exit);
103 __throw_system_error(__ec, "__thread_specific_ptr construction failed");
107 __thread_specific_ptr<_Tp>::~__thread_specific_ptr() {
108 // __thread_specific_ptr is only created with a static storage duration
115 void __thread_specific_ptr<_Tp>::set_pointer(pointer __p) {