多线程
https://www.cnblogs.com/xyf327/p/15008168.html
https://zhuanlan.zhihu.com/p/368002294
C++11引入了5个头文件来支持多线程编程,是
# thread的使用
#include <iostream>
#include <thread>
using namespace std;
void thread_task()
{
cout << "hello thread" << endl;
}
int main()
{
thread t(thread_task);
t.join();
cout << "thread end" << endl;
return 0;
}