C++ 11 snippets , 1
摘要:1->创建7个Thread,跑个非常大的循环.观察CPU void func(string &name) { for(auto i=0;i<0xFFFFFFFF;i++) { //cout << name << this_thread::get_id() << "running \n"; } } i
阅读全文
posted @ 2016-09-17 21:43
Modern C++ 创造非凡 . 改变世界 一起铲除毒瘤KPI
posted @ 2016-09-17 21:43