2015年6月7日

摘要: // 1111111.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #include int gcounter = 0;std::mutex gmtx; std::mutex gmtxOutput;voi... 阅读全文
posted @ 2015-06-07 21:29 itdef 阅读(319) 评论(0) 推荐(0)
摘要: 没啥好讲的 c++11 thread类的基本使用#include "stdafx.h"#include #include void Func(int n){ for (int i = 0; i < 3; ++i) std::cout << "func " << i << std::endl;}vo... 阅读全文
posted @ 2015-06-07 21:11 itdef 阅读(391) 评论(0) 推荐(0)

导航