c++11使用容器管理线程对象
#include <iostream>#include <string>using namespace std;void run(int a){ std::cout << a << std::endl; std::cout << "子线程ID = " << std::this_thread::get_id()