Lines Matching refs:thread

15     thread synopsis
20 class thread
26 thread() noexcept;
27 template <class F, class ...Args> explicit thread(F&& f, Args&&... args);
28 ~thread();
30 thread(const thread&) = delete;
31 thread(thread&& t) noexcept;
33 thread& operator=(const thread&) = delete;
34 thread& operator=(thread&& t) noexcept;
36 void swap(thread& t) noexcept;
47 void swap(thread& x, thread& y) noexcept;
49 class thread::id
55 bool operator==(thread::id x, thread::id y) noexcept;
56 bool operator!=(thread::id x, thread::id y) noexcept;
57 bool operator< (thread::id x, thread::id y) noexcept;
58 bool operator<=(thread::id x, thread::id y) noexcept;
59 bool operator> (thread::id x, thread::id y) noexcept;
60 bool operator>=(thread::id x, thread::id y) noexcept;
64 operator<<(basic_ostream<charT, traits>& out, thread::id id);
69 thread::id get_id() noexcept;
117 # error "<thread> is not supported since libc++ has been configured without support for threads."
195 // thread local data. For this reason we leak the key.
203 "Attempting to overwrite thread local data");
224 class _LIBCPP_TYPE_VIS thread
228 thread(const thread&);
229 thread& operator=(const thread&);
235 thread() _NOEXCEPT : __t_(_LIBCPP_NULL_THREAD) {}
238 class = __enable_if_t<!is_same<__uncvref_t<_Fp>, thread>::value> >
240 explicit thread(_Fp&& __f, _Args&&... __args);
244 explicit thread(_Fp __f);
246 ~thread();
249 thread(thread&& __t) _NOEXCEPT : __t_(__t.__t_) {
254 thread& operator=(thread&& __t) _NOEXCEPT {
263 void swap(thread& __t) _NOEXCEPT {_VSTD::swap(__t_, __t.__t_);}
302 thread::thread(_Fp&& __f, _Args&&... __args)
315 __throw_system_error(__ec, "thread constructor failed");
322 // This type is used to pass memory for thread local storage and a functor
323 // to a newly created thread because std::pair doesn't work with
340 thread::thread(_Fp __f)
350 __throw_system_error(__ec, "thread constructor failed");
356 void swap(thread& __x, thread& __y) _NOEXCEPT {__x.swap(__y);}