std::thread

来源:互联网 发布:成都php培训 编辑:程序博客网 时间:2024/06/02 04:23

definition

  • std::stread::thread
thread() noexcept;    (1)   (since C++11)thread( thread&& other ) noexcept;    (2)   (since C++11)template< class Function, class... Args > explicit thread( Function&& f, Args&&... args );    (3) (since C++11)thread(const thread&) = delete;    (4)  (since C++11)

practice

  • C++11 std::threads vs posix threads

  • performance of pthread vs std::thread on Unix based systems like Linux and OpenBSD

  • Top 20 C++ multithreading mistakes and how to avoid them

  • Confusing performance with std::thread

原创粉丝点击