• Home
  • Raw
  • Download

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;
180 class _LIBCPP_TYPE_VIS thread;
195 // NULL is the no-thread value on Darwin. Someone needs to check
234 friend class _LIBCPP_TYPE_VIS thread;
261 class _LIBCPP_TYPE_VIS thread
265 thread(const thread&);
266 thread& operator=(const thread&);
272 thread() _NOEXCEPT : __t_(0) {}
277 !is_same<typename decay<_Fp>::type, thread>::value
280 explicit thread(_Fp&& __f, _Args&&... __args);
282 template <class _Fp> explicit thread(_Fp __f);
284 ~thread();
288 thread(thread&& __t) _NOEXCEPT : __t_(__t.__t_) {__t.__t_ = 0;}
289 thread& operator=(thread&& __t) _NOEXCEPT;
293 void swap(thread& __t) _NOEXCEPT {_VSTD::swap(__t_, __t.__t_);}
351 thread::thread(_Fp&& __f, _Args&&... __args)
360 __throw_system_error(__ec, "thread constructor failed");
376 thread::thread(_Fp __f)
383 __throw_system_error(__ec, "thread constructor failed");
391 thread&
392 thread::operator=(thread&& __t) _NOEXCEPT
404 void swap(thread& __x, thread& __y) _NOEXCEPT {__x.swap(__y);}