Lines Matching refs:thread
78 class thread in _GLIBCXX_VISIBILITY()
112 friend class thread; in _GLIBCXX_VISIBILITY()
138 using __not_same = __not_<is_same<__remove_cvref_t<_Tp>, thread>>; in _GLIBCXX_VISIBILITY()
141 thread() noexcept = default; in _GLIBCXX_VISIBILITY()
147 thread(_Callable&& __f, _Args&&... __args) in _GLIBCXX_VISIBILITY()
169 ~thread() in _GLIBCXX_VISIBILITY()
175 thread(const thread&) = delete; in _GLIBCXX_VISIBILITY()
177 thread(thread&& __t) noexcept in _GLIBCXX_VISIBILITY()
180 thread& operator=(const thread&) = delete; in _GLIBCXX_VISIBILITY()
182 thread& operator=(thread&& __t) noexcept in _GLIBCXX_VISIBILITY()
191 swap(thread& __t) noexcept in _GLIBCXX_VISIBILITY()
299 inline void thread::join() { std::__throw_system_error(EINVAL); } in _GLIBCXX_VISIBILITY()
300 inline void thread::detach() { std::__throw_system_error(EINVAL); } in _GLIBCXX_VISIBILITY()
301 inline unsigned int thread::hardware_concurrency() noexcept { return 0; } in _GLIBCXX_VISIBILITY()
306 swap(thread& __x, thread& __y) noexcept in _GLIBCXX_VISIBILITY()
311 operator==(thread::id __x, thread::id __y) noexcept in _GLIBCXX_VISIBILITY()
325 struct hash<thread::id> in _GLIBCXX_VISIBILITY()
326 : public __hash_base<size_t, thread::id> in _GLIBCXX_VISIBILITY()
329 operator()(const thread::id& __id) const noexcept in _GLIBCXX_VISIBILITY()
336 inline thread::id in _GLIBCXX_VISIBILITY()
340 return thread::id(1); in _GLIBCXX_VISIBILITY()
342 return thread::id(_GLIBCXX_NATIVE_THREAD_ID); in _GLIBCXX_VISIBILITY()
344 return thread::id(__gthread_self()); in _GLIBCXX_VISIBILITY()