
多线程
恋上豆沙包
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C++11 多线程并发1
#include <iostream>#include <stdio.h>#include <thread>using namespace std;void thread_task(){ cout<<" hello thread" <<endl;}int main(){ thread T(threa...原创 2016-11-10 19:34:59 · 308 阅读 · 0 评论 -
c++11多线程并发2
#include #include #include #include #include #include void f1(int n){ for (int i = 0; i 5; ++i) { std::cout \n"; std::this_thread::sleep_for(std::chrono::milliseconds(10));转载 2016-11-10 19:56:47 · 309 阅读 · 0 评论