AlgebraMaster

Modern C++ 创造非凡 . 改变世界

导航

2016年9月17日 #

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 gearslogy 阅读(579) 评论(0) 推荐(0) 编辑