Home
last modified time | relevance | path

Searched refs:__thread_struct (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/src/
H A Dthread.cpp102 __thread_specific_ptr<__thread_struct>& __thread_local_data() { in __thread_local_data()
107 …alignas(__thread_specific_ptr<__thread_struct>) static char __b[sizeof(__thread_specific_ptr<__thr… in __thread_local_data()
108 …static __thread_specific_ptr<__thread_struct>* __p = new (__b) __thread_specific_ptr<__thread_stru… in __thread_local_data()
165 __thread_struct::__thread_struct() : __p_(new __thread_struct_imp) {} in __thread_struct() function in __thread_struct
167 __thread_struct::~__thread_struct() { delete __p_; } in ~__thread_struct()
169 void __thread_struct::notify_all_at_thread_exit(condition_variable* cv, mutex* m) { in notify_all_at_thread_exit()
173 void __thread_struct::__make_ready_at_thread_exit(__assoc_sub_state* __s) { __p_->__make_ready_at_t… in __make_ready_at_thread_exit()
H A Dcondition_variable.cpp70 tl_ptr.set_pointer(new __thread_struct); in notify_all_at_thread_exit()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__thread/
H A Dthread.h41 class _LIBCPP_EXPORTED_FROM_ABI __thread_struct; variable
45 _LIBCPP_EXPORTED_FROM_ABI __thread_specific_ptr<__thread_struct>& __thread_local_data();
47 class _LIBCPP_EXPORTED_FROM_ABI __thread_struct {
50 __thread_struct(const __thread_struct&);
51 __thread_struct& operator=(const __thread_struct&);
54 __thread_struct();
55 ~__thread_struct();
67 static_assert(is_same<_Tp, __thread_struct>::value, "");
69 friend _LIBCPP_EXPORTED_FROM_ABI __thread_specific_ptr<__thread_struct>& __thread_local_data();
187 _LIBCPP_HIDE_FROM_ABI __thread_invoke_pair(_Fp& __f) : __tsp_(new __thread_struct), __fn_(__f) {}
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Dthread.h50 class _LIBCPP_EXPORTED_FROM_ABI __thread_struct; variable
54 _LIBCPP_EXPORTED_FROM_ABI __thread_specific_ptr<__thread_struct>& __thread_local_data();
56 class _LIBCPP_EXPORTED_FROM_ABI __thread_struct {
59 __thread_struct(const __thread_struct&);
60 __thread_struct& operator=(const __thread_struct&);
63 __thread_struct();
64 ~__thread_struct();
76 static_assert(is_same<_Tp, __thread_struct>::value, "");
78 friend _LIBCPP_EXPORTED_FROM_ABI __thread_specific_ptr<__thread_struct>& __thread_local_data();
179 _LIBCPP_HIDE_FROM_ABI __thread_invoke_pair(_Fp& __f) : __tsp_(new __thread_struct), __fn_(__f) {}
[all …]