Lines Matching refs:thread
2 //===--------------------------- thread -----------------------------------===//
16 thread synopsis
23 class thread
29 thread() noexcept;
30 template <class F, class ...Args> explicit thread(F&& f, Args&&... args);
31 ~thread();
33 thread(const thread&) = delete;
34 thread(thread&& t) noexcept;
36 thread& operator=(const thread&) = delete;
37 thread& operator=(thread&& t) noexcept;
39 void swap(thread& t) noexcept;
50 void swap(thread& x, thread& y) noexcept;
52 class thread::id
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;
61 bool operator<=(thread::id x, thread::id y) noexcept;
62 bool operator> (thread::id x, thread::id y) noexcept;
63 bool operator>=(thread::id x, thread::id y) noexcept;
67 operator<<(basic_ostream<charT, traits>& out, thread::id id);
72 thread::id get_id() noexcept;
111 #error <thread> is not supported on this single threaded system
183 class _LIBCPP_TYPE_VIS thread;
198 // NULL is the no-thread value on Darwin. Someone needs to check
237 friend class _LIBCPP_TYPE_VIS thread;
264 class _LIBCPP_TYPE_VIS thread
268 thread(const thread&);
269 thread& operator=(const thread&);
275 thread() _NOEXCEPT : __t_(0) {}
280 !is_same<typename decay<_Fp>::type, thread>::value
283 explicit thread(_Fp&& __f, _Args&&... __args);
285 template <class _Fp> explicit thread(_Fp __f);
287 ~thread();
291 thread(thread&& __t) _NOEXCEPT : __t_(__t.__t_) {__t.__t_ = 0;}
292 thread& operator=(thread&& __t) _NOEXCEPT;
296 void swap(thread& __t) _NOEXCEPT {_VSTD::swap(__t_, __t.__t_);}
354 thread::thread(_Fp&& __f, _Args&&... __args)
363 __throw_system_error(__ec, "thread constructor failed");
379 thread::thread(_Fp __f)
386 __throw_system_error(__ec, "thread constructor failed");
394 thread&
395 thread::operator=(thread&& __t) _NOEXCEPT
407 void swap(thread& __x, thread& __y) _NOEXCEPT {__x.swap(__y);}