Lines Matching refs:__thread_struct
117 class _LIBCPP_TYPE_VIS __thread_struct;
121 _LIBCPP_FUNC_VIS __thread_specific_ptr<__thread_struct>& __thread_local_data();
123 class _LIBCPP_TYPE_VIS __thread_struct
127 __thread_struct(const __thread_struct&);
128 __thread_struct& operator=(const __thread_struct&);
130 __thread_struct();
131 ~__thread_struct();
143 // and only with _Tp == __thread_struct.
144 static_assert((is_same<_Tp, __thread_struct>::value), "");
146 friend _LIBCPP_FUNC_VIS __thread_specific_ptr<__thread_struct>& __thread_local_data();
345 // _Fp = std::tuple< unique_ptr<__thread_struct>, Functor, Args...>
358 typedef unique_ptr<__thread_struct> _TSPtr;
359 _TSPtr __tsp(new __thread_struct);
379 __thread_invoke_pair(_Fp& __f) : __tsp_(new __thread_struct), __fn_(__f) {}
380 unique_ptr<__thread_struct> __tsp_;