| 161 | |
| 162 | template <class _Fp> |
| 163 | _LIBCPP_HIDE_FROM_ABI void* __thread_proxy(void* __vp) { |
| 164 | // _Fp = tuple< unique_ptr<__thread_struct>, Functor, Args...> |
| 165 | unique_ptr<_Fp> __p(static_cast<_Fp*>(__vp)); |
| 166 | __thread_local_data().set_pointer(std::get<0>(*__p.get()).release()); |
| 167 | typedef typename __make_tuple_indices<tuple_size<_Fp>::value, 2>::type _Index; |
| 168 | std::__thread_execute(*__p.get(), _Index()); |
| 169 | return nullptr; |
| 170 | } |
| 171 | |
| 172 | # else // _LIBCPP_CXX03_LANG |
| 173 |
nothing calls this directly
no test coverage detected