• Home
  • Raw
  • Download

Lines Matching full: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;
114 #error <thread> is not supported on this single threaded system
192 // thread local data. For this reason we leak the key.
200 "Attempting to overwrite thread local data");
204 class _LIBCPP_TYPE_VIS thread;
219 // NULL is the no-thread value on Darwin. Someone needs to check
258 friend class _LIBCPP_TYPE_VIS thread;
285 class _LIBCPP_TYPE_VIS thread
289 thread(const thread&);
290 thread& operator=(const thread&);
296 thread() _NOEXCEPT : __t_(_LIBCPP_NULL_THREAD) {}
301 !is_same<typename __uncvref<_Fp>::type, thread>::value
305 explicit thread(_Fp&& __f, _Args&&... __args);
309 explicit thread(_Fp __f);
311 ~thread();
315 thread(thread&& __t) _NOEXCEPT : __t_(__t.__t_) {__t.__t_ = _LIBCPP_NULL_THREAD;}
317 thread& operator=(thread&& __t) _NOEXCEPT;
321 void swap(thread& __t) _NOEXCEPT {_VSTD::swap(__t_, __t.__t_);}
359 thread::thread(_Fp&& __f, _Args&&... __args)
372 __throw_system_error(__ec, "thread constructor failed");
376 thread&
377 thread::operator=(thread&& __t) _NOEXCEPT
390 // This type is used to pass memory for thread local storage and a functor
391 // to a newly created thread because std::pair doesn't work with
408 thread::thread(_Fp __f)
418 __throw_system_error(__ec, "thread constructor failed");
424 void swap(thread& __x, thread& __y) _NOEXCEPT {__x.swap(__y);}