• 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;
111 #error <thread> is not supported on this single threaded system
189 // thread local data. For this reason we leak the key.
197 "Attempting to overwrite thread local data");
201 class _LIBCPP_TYPE_VIS thread;
216 // NULL is the no-thread value on Darwin. Someone needs to check
255 friend class _LIBCPP_TYPE_VIS thread;
282 class _LIBCPP_TYPE_VIS thread
286 thread(const thread&);
287 thread& operator=(const thread&);
293 thread() _NOEXCEPT : __t_(_LIBCPP_NULL_THREAD) {}
298 !is_same<typename decay<_Fp>::type, thread>::value
302 explicit thread(_Fp&& __f, _Args&&... __args);
306 explicit thread(_Fp __f);
308 ~thread();
312 thread(thread&& __t) _NOEXCEPT : __t_(__t.__t_) {__t.__t_ = _LIBCPP_NULL_THREAD;}
314 thread& operator=(thread&& __t) _NOEXCEPT;
318 void swap(thread& __t) _NOEXCEPT {_VSTD::swap(__t_, __t.__t_);}
356 thread::thread(_Fp&& __f, _Args&&... __args)
369 __throw_system_error(__ec, "thread constructor failed");
376 // This type is used to pass memory for thread local storage and a functor
377 // to a newly created thread because std::pair doesn't work with
394 thread::thread(_Fp __f)
404 __throw_system_error(__ec, "thread constructor failed");
412 thread&
413 thread::operator=(thread&& __t) _NOEXCEPT
425 void swap(thread& __x, thread& __y) _NOEXCEPT {__x.swap(__y);}