|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/Support/thread.h 26 typedef std::thread thread;
lib/Support/ThreadPool.cpp 105 for (auto &Worker : Threads)
lib/Support/Threading.cpp 91 return std::thread::hardware_concurrency();
102 if (unsigned Val = std::thread::hardware_concurrency())
tools/clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp 146 std::thread InotifyPollingThread;
160 std::thread EventsReceivingThread;
tools/clang/tools/clang-scan-deps/ClangScanDeps.cpp 216 std::vector<std::thread> WorkerThreads;
253 for (auto &W : WorkerThreads)
tools/clang/tools/extra/clangd/unittests/CancellationTests.cpp 56 std::thread AsyncTask(TaskToBeCancelled, std::move(Task.first));
tools/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp 243 std::thread worker(std::move(task));
tools/lldb/source/Host/common/TaskPool.cpp 55 std::max(1u, std::thread::hardware_concurrency());
tools/lldb/tools/lldb-vscode/VSCode.h 78 std::thread event_thread;
tools/lldb/unittests/Editline/EditlineTest.cpp 245 std::shared_ptr<std::thread> _sp_output_thread;
263 std::make_shared<std::thread>([&] { _el_adapter.ConsumeAllOutput(); });
tools/lldb/unittests/Host/MainLoopTest.cpp 152 std::thread killer([]() {
tools/lldb/unittests/Host/SocketTestUtilities.cpp 42 std::thread accept_thread(AcceptThread, listen_socket_up.get(),
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp 269 std::thread server_thread([this] {
tools/lldb/unittests/Utility/LogTest.cpp 270 std::thread log_thread([this] { LLDB_LOG(getLog(), "Hello World"); });
287 std::thread log_thread([this] { LLDB_LOGV(getLog(), "Hello World"); });
306 std::thread log_thread([this, &mask] { mask = getLog()->GetMask().Get(); });
tools/lldb/unittests/Utility/PredicateTest.cpp 20 std::thread Setter([&P] {
tools/lldb/unittests/tools/lldb-server/inferior/thread_inferior.cpp 22 std::vector<std::thread> threads;
35 for (std::thread& t : threads) {
tools/lli/lli.cpp 863 std::vector<std::thread> AltEntryThreads;
886 for (auto &AltEntryThread : AltEntryThreads)
unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp 1102 std::thread MaterializationThread;
unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp 181 std::thread ServerThread([&]() {
236 std::thread ServerThread([&]() {
281 std::thread ServerThread([&]() {
326 std::thread ServerThread([&]() {
381 std::thread ServerThread([&]() {
423 std::thread ServerThread([&]() {
463 std::thread ServerThread([&]() {
535 std::thread ServerThread([&]() {
578 std::thread ServerThread([&]() {
623 std::thread ServerThread([&]() {
652 std::thread ServerThread([&]() {
687 std::thread ServerThread([&]() {
719 std::thread ServerThread([&]() {
755 std::thread ServerThread([&]() {
837 std::thread ServerThread(
unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp 156 auto ServerThread =
203 auto ServerThread =
255 auto ServerThread =
306 auto ServerThread =
370 auto ServerThread =
459 auto ServerThread =
518 auto ServerThread =
568 auto ServerThread =
unittests/Support/MemoryBufferTest.cpp 174 std::thread Writer([&] {
usr/include/c++/7.4.0/bits/alloc_traits.h 387 using allocator_type = allocator<_Tp>;
389 using value_type = _Tp;
392 using pointer = _Tp*;
395 using const_pointer = const _Tp*;
474 construct(allocator_type& __a, _Up* __p, _Args&&... __args)
474 construct(allocator_type& __a, _Up* __p, _Args&&... __args)
475 { __a.construct(__p, std::forward<_Args>(__args)...); }
486 destroy(allocator_type& __a, _Up* __p)
usr/include/c++/7.4.0/bits/allocator.h 108 class allocator: public __allocator_base<_Tp>
113 typedef _Tp* pointer;
114 typedef const _Tp* const_pointer;
115 typedef _Tp& reference;
116 typedef const _Tp& const_reference;
117 typedef _Tp value_type;
137 allocator(const allocator<_Tp1>&) throw() { }
usr/include/c++/7.4.0/bits/move.h 46 inline _GLIBCXX_CONSTEXPR _Tp*
47 __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
72 constexpr _Tp&&
73 forward(typename std::remove_reference<_Tp>::type& __t) noexcept
83 constexpr _Tp&&
84 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
98 move(_Tp&& __t) noexcept
104 : public __and_<__not_<is_nothrow_move_constructible<_Tp>>,
105 is_copy_constructible<_Tp>>::type { };
usr/include/c++/7.4.0/bits/shared_ptr.h 93 class shared_ptr : public __shared_ptr<_Tp>
107 using element_type = typename __shared_ptr<_Tp>::element_type;
236 shared_ptr(const shared_ptr<_Yp>& __r) noexcept
253 shared_ptr(shared_ptr<_Yp>&& __r) noexcept
299 _Assignable<const shared_ptr<_Yp>&>
300 operator=(const shared_ptr<_Yp>& __r) noexcept
324 _Assignable<shared_ptr<_Yp>>
325 operator=(shared_ptr<_Yp>&& __r) noexcept
352 shared_ptr(const weak_ptr<_Tp>& __r, std::nothrow_t)
687 inline shared_ptr<_Tp>
702 inline shared_ptr<_Tp>
705 typedef typename std::remove_const<_Tp>::type _Tp_nc;
706 return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(),
usr/include/c++/7.4.0/bits/shared_ptr_base.h 882 : is_convertible<_Yp*, _Tp*>::type
882 : is_convertible<_Yp*, _Tp*>::type
956 using element_type = _Tp;
1035 : public __shared_ptr_access<_Tp, _Lp>
1038 using element_type = typename remove_extent<_Tp>::type;
1126 __shared_ptr(const __shared_ptr<_Yp, _Lp>& __r) noexcept
1138 __shared_ptr(__shared_ptr<_Yp, _Lp>&& __r) noexcept
1192 _Assignable<_Yp>
1193 operator=(const __shared_ptr<_Yp, _Lp>& __r) noexcept
1218 _Assignable<_Yp>
1219 operator=(__shared_ptr<_Yp, _Lp>&& __r) noexcept
1272 swap(__shared_ptr<_Tp, _Lp>& __other) noexcept
1321 rebind_traits<typename std::remove_cv<_Tp>::type> __traits;
1344 __shared_ptr(const __weak_ptr<_Tp, _Lp>& __r, std::nothrow_t)
1377 typename enable_if<!__has_esft_base<_Yp2>::value>::type
1378 _M_enable_shared_from_this_with(_Yp*) noexcept
usr/include/c++/7.4.0/bits/stl_construct.h 74 _Construct(_T1* __p, _Args&&... __args)
74 _Construct(_T1* __p, _Args&&... __args)
75 { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
75 { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
97 _Destroy(_Tp* __pointer)
204 allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_iterator.h 1224 __make_move_if_noexcept_iterator(_Tp* __i)
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h 181 typedef _Tp value_type;
183 typedef _Tp* pointer;
184 typedef _Tp& reference;
usr/include/c++/7.4.0/bits/stl_uninitialized.h 288 _ForwardIterator __result, allocator<_Tp>&)
644 allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_vector.h 77 rebind<_Tp>::other _Tp_alloc_type;
216 class vector : protected _Vector_base<_Tp, _Alloc>
227 typedef _Vector_base<_Tp, _Alloc> _Base;
232 typedef _Tp value_type;
919 _Tp*
923 const _Tp*
962 emplace_back(_Args&&... __args);
1483 _M_realloc_insert(iterator __position, _Args&&... __args);
usr/include/c++/7.4.0/bits/vector.tcc 101 std::forward<_Args>(__args)...);
105 _M_realloc_insert(end(), std::forward<_Args>(__args)...);
418 std::forward<_Args>(__args)...);
usr/include/c++/7.4.0/ext/alloc_traits.h 117 { typedef typename _Base_type::template rebind_alloc<_Tp> other; };
usr/include/c++/7.4.0/ext/new_allocator.h 63 typedef _Tp* pointer;
64 typedef const _Tp* const_pointer;
65 typedef _Tp& reference;
66 typedef const _Tp& const_reference;
67 typedef _Tp value_type;
84 new_allocator(const new_allocator<_Tp1>&) _GLIBCXX_USE_NOEXCEPT { }
111 return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
130 { return size_t(-1) / sizeof(_Tp); }
135 construct(_Up* __p, _Args&&... __args)
135 construct(_Up* __p, _Args&&... __args)
136 { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
136 { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
140 destroy(_Up* __p) { __p->~_Up(); }
usr/include/c++/7.4.0/future 1647 void _M_join() { std::call_once(_M_once, &thread::join, &_M_thread); }
1649 thread _M_thread;
1664 _M_thread = std::thread{ [this] {
1720 std::thread::__make_invoker(std::forward<_Fn>(__fn),
1736 std::thread::__make_invoker(std::forward<_Fn>(__fn),
usr/include/c++/7.4.0/initializer_list 50 typedef _E value_type;
51 typedef const _E& reference;
52 typedef const _E& const_reference;
54 typedef const _E* iterator;
55 typedef const _E* const_iterator;
usr/include/c++/7.4.0/thread 92 operator==(thread::id __x, thread::id __y) noexcept;
92 operator==(thread::id __x, thread::id __y) noexcept;
95 operator<(thread::id __x, thread::id __y) noexcept;
95 operator<(thread::id __x, thread::id __y) noexcept;
99 operator<<(basic_ostream<_CharT, _Traits>& __out, thread::id __id);
109 thread(thread&) = delete;
110 thread(const thread&) = delete;
111 thread(const thread&&) = delete;
113 thread(thread&& __t) noexcept
118 thread(_Callable&& __f, _Args&&... __args)
138 thread& operator=(const thread&) = delete;
138 thread& operator=(const thread&) = delete;
140 thread& operator=(thread&& __t) noexcept
140 thread& operator=(thread&& __t) noexcept
149 swap(thread& __t) noexcept
162 thread::id
263 swap(thread& __x, thread& __y) noexcept
263 swap(thread& __x, thread& __y) noexcept
267 operator==(thread::id __x, thread::id __y) noexcept
267 operator==(thread::id __x, thread::id __y) noexcept
277 operator!=(thread::id __x, thread::id __y) noexcept
277 operator!=(thread::id __x, thread::id __y) noexcept
281 operator<(thread::id __x, thread::id __y) noexcept
281 operator<(thread::id __x, thread::id __y) noexcept
289 operator<=(thread::id __x, thread::id __y) noexcept
289 operator<=(thread::id __x, thread::id __y) noexcept
293 operator>(thread::id __x, thread::id __y) noexcept
293 operator>(thread::id __x, thread::id __y) noexcept
297 operator>=(thread::id __x, thread::id __y) noexcept
297 operator>=(thread::id __x, thread::id __y) noexcept
304 : public __hash_base<size_t, thread::id>
307 operator()(const thread::id& __id) const noexcept
313 operator<<(basic_ostream<_CharT, _Traits>& __out, thread::id __id)
332 inline thread::id
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
567 : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
631 : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
798 typedef decltype(__test<_Tp>(0)) type;
811 remove_all_extents<_Tp>::type>::type
825 : public __is_destructible_safe<_Tp>::type
984 typedef decltype(__test<_Tp, _Arg>(0)) type;
989 : public __and_<is_destructible<_Tp>,
990 __is_direct_constructible_impl<_Tp, _Arg>>
1072 __is_direct_constructible_ref_cast<_Tp, _Arg>,
1073 __is_direct_constructible_new_safe<_Tp, _Arg>
1079 : public __is_direct_constructible_new<_Tp, _Arg>::type
1119 : public __is_direct_constructible<_Tp, _Arg>
1130 : public __is_constructible_impl<_Tp, _Args...>::type
1215 : public __and_<is_constructible<_Tp, _Args...>,
1216 __is_nt_constructible_impl<_Tp, _Args...>>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1252 : public __is_nothrow_move_constructible_impl<_Tp>
1286 : public is_assignable<_Tp&, const _Tp&>
1286 : public is_assignable<_Tp&, const _Tp&>
1292 : public __is_copy_assignable_impl<_Tp>
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1629 { typedef _Tp type; };
1633 { typedef _Tp type; };
1659 { typedef _Tp&& type; };
1942 { typedef _Tp type; };
1955 { typedef _Tp type; };
2381 typedef typename conditional<__or_<is_same<_Argval, _Class>,
2382 is_base_of<_Class, _Argval>>::value,
utils/benchmark/src/benchmark.cc 192 std::vector<std::thread> pool(b.threads - 1);
212 for (std::thread& thread : pool) thread.join();