地址:http://en.cppreference.com/w/cpp/thread
Thread support library
|
Threads
Threads enable the program to execute across several processor cores.
//线程使程序可以跨多个核(心)运行。
Defined in header
<thread> //定义在<thread>头文件
|
|
(C++11)
|
manages a separate thread //管理一个独立线程 (class) |
Functions managing the current thread//管理当前线程的函数 |
|
Defined in namespace
this_thread //定义在名字空间域this_thread
|
|
(C++11)
|
hints the implementation to reschedule execution of threads (function)//提示实现重新安排线程的执行,即调用yield将降低优先级。 |